[C++-sig] possible handle_exception_impl error

David Abrahams dave at boost-consulting.com
Thu Nov 21 00:50:54 CET 2002


"Mike Rovner" <mike at bindkey.com> writes:

> I got a crash with following backtrace:
>
> Source:
>
> struct  X {
>     X(const char* init) : name(init) {}
>     const char* Name() { return name.c_str();}
> private:
>     std::string name;
> };
>
> struct Obj : X { ... };
>
> class_<Obj>("Obj").add_property("name", (const char* (Obj::*)())&Obj::Name);

No module initialization function?

-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution





More information about the Cplusplus-sig mailing list