[C++-sig] Python freezing

Dave Abrahams dave at boostpro.com
Fri Nov 11 04:00:44 CET 2011


on Thu Nov 10 2011, Jay Riley <super24bitsound-AT-hotmail.com> wrote:

> so it seems as though string isn't in the registry? and the error
> gets digested silently. This is really weird and I don't quite
> understand why returning a string causing a problem. Is it because
> it's returned as a const std::string&? 

Yep.  Use a thin wrapper that returns by value.


-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



More information about the Cplusplus-sig mailing list