Hello, I have exported a struct containing a std::string field and used it one of my py files. I used same py and pyd file in another operating system (vista). It just stuck without giving any errors. I figured out that the std::string field gets a limited space (as it should do) but does not increase it when initialized or assigned with longer sequence of characters.
Is it a "quick and good" solution to write a wrapper for std::string and set its reserved space a high number ( reserve(128); ) or export overloaded = operator to python side? thanks in advance. -- Furkan Kuru
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig