When I use py++ (1.0.0) with indexing_suite_version = 2 to wrap 
std::set<string> etc, it generates code which doesn't compile out of the box.  
The code from the boost sandbox puts various definitions in the 
boost::python::indexing_v2 namespace, and the header files in 
boost/python/suite/indexing_v2.

However, py++ generates code that assumes that the sandbox code is in the boost 
trunk namespace (bp::indexing) and filestructure (boost/python/suite/indexing). 
 It's easy to either fix-up the generated code, or edit the sandbox code and 
merge it into trunk, but I'd rather keep to published code rather than commit 
the project to our own version of boost or add another step to the code 
generation.

Is there a way of telling py++ to use the different namespace and directory?  
Or am I misunderstanding some things?

Thanks for any help

James.

-- 
Ring the bells that still can ring...
Forget your perfect offering.
There is a crack in everything
That's how the light gets in.
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to