Boost logo

Boost :

Subject: [boost] Question about exposing template class to python using boost::python
From: Yongning Zhu (yongningbrg_at_[hidden])
Date: 2010-06-22 20:06:26


Hi,

I implemented a
template<class T, int d> VECTOR;

Now I can expose specialized class like VECTOR<int,2> to python, but I
want to expose more specializations without copying a whole set. What
shall I do?

I found some early posts about this problem, but didn't figure out a
solution. Is class_builder the one I should look for? Thanks in
advance?

Yong


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk