using STL with Alchemy
问题 While Alchemy supports compiling C++, it seems that using the using the STL is trouble, mostly due to a problem with std::string. What's strange is that Alchemy seems to be using GNU libstd++ v3.4.6. It's hard to believe that std::string is broken in GNU's STL. Has anyone figured out any workarounds for this problem? C++ without the STL is like a fish without water. 回答1: The problem isn't in the STL as such. The GNU implementation of std::string is reference-counted using the thread-safe