On Thu, Apr 29, 2010 at 2:24 AM, Maciej Sitarz <macieksit...@wp.pl> wrote: > On 28.03.2010 11:53, Roman Yakovenko wrote: >> >> On Sun, Mar 28, 2010 at 4:53 AM, Maciej Sitarz<macieksit...@wp.pl> > >> So that would be a big problem, because that's a C++ API for a library >> which >>> >>> isn't developed by me. >>> Maybe you know how the pyogre developers handled this situation? The >>> tuple.hpp is from theirs repo, but I didn't manage to investigate how did >>> they do it. >> >> I sent the question to PyOgre main developer. When the answer will be >> available, I will publish it here. > > Quite some time has past, thats a pity that there's no response.
Agree > So if there are such problems with automatic boost::tuples conversion, maybe > it's possible to write some converters by hand? > > For example for this tuple: > boost::tuple<ClassA, std::string> > > Let's say just to read the values from the tuple. I've got some functions > inserting the values and I just need to read them. I did it some time ago: http://language-binding.net/pyplusplus/troubleshooting_guide/automatic_conversion/automatic_conversion.html . The source code is available under "Download" section. HTH -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig