[C++-sig] Derivation from Python str

2010-09-29 Thread Willi Karel
I'd like to derive from either Python's built-in 'str' or boost::python::str, resulting in a class that provides additional methods / member functions / attributes. The definitions of these additional methods are implemented in C++. Is there any way to achieve that? Please note that implicit conver

Re: [C++-sig] Derivation from Python str

2010-09-29 Thread Willi Karel
heers, Willi. Jim Bosch wrote: > On 09/29/2010 09:01 AM, Hans Meine wrote: >> Am Mittwoch 29 September 2010, 17:02:57 schrieb Willi Karel: >>> I'd like to derive from either Python's built-in 'str' or >>> boost::python::str, resulting in a class tha