[C++-sig] Re: extract<const char *>
s_sourceforge at nedprod.com
Thu Dec 18 21:14:37 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
On 18 Dec 2003 at 13:32, David Abrahams wrote:
> > Where does extract<> store its result?
> It doesn't. You're getting the char const* out of the temporary
> Python string you created. This is the same as the "attempt to return
> a dangling reference" issue. If you want something that will stick
> around, extract std::string.
Would there be any reason why trying to extract to a FXString (which
I have previously registered a converter for and it all works fine)
gives a converter not found error?
-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 126.96.36.199 / 9-2003 + PGP 8.0.2
-----END PGP SIGNATURE-----
More information about the Cplusplus-sig