[C++-sig] accessing nontrivial types

Anders Wallin anders.e.e.wallin at gmail.com
Thu Feb 4 21:12:01 CET 2010


are there examples of how to do this somewhere?
for something like list<int>, MyClass   and list<MyClass>

thanks,
AW

>        1) the vector_indexing_suite might work for a std::list. Give it
> a try.
>        2) Manually expose the function the you care about.
>        3) have a couple of get/set functions as a property that copies
> your std::list to and from a bp::list.


More information about the Cplusplus-sig mailing list