[C++-sig] extract<const char *>

Niall Douglas s_sourceforge at nedprod.com
Thu Dec 18 13:37:59 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If I do this:

list result; // some python list
printf("List from C++ is %s\n", extract<const char *>(str(result)));

... the string appear to be corrupted. Yet if I remove the printf() 
and extract to a const char *, the string is correct.

Where does extract<> store its result?

Cheers,
Niall





-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2

iQA/AwUBP+Gfp8EcvDLFGKbPEQKYKQCginjlBYDJ4k7J4zogg9fcw0UqYvoAnjJa
k7rgq1f0v6hKMhyDj3obRBD3
=Jxy9
-----END PGP SIGNATURE-----




More information about the Cplusplus-sig mailing list