Boost logo

Boost :

Subject: [boost] [c++-sig]Python binding for templated constructor
From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2010-05-25 16:58:40


Hi,
 I have a class with a generic constructor as follows :
class X
{
  indexes m_idx;
  template<class strategy>
   X(){
     build_indexes<strategy>()
};

My problem is that I am not able to figure out the syntax to export this
constructor. Is the above class not well defined ?.

Thanks.
Sandeep


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