Boost logo

Boost Users :

Subject: [Boost-users] [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-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net