托管C++里,C#的string怎么转成C++的string,直接赋值是不行的
------解决思路----------------------
System::String^ managed = ".........";
std::string unmanaged = msclr::interop::marshal_as<std::string>(managed);
System::String^ managed = ".........";
std::string unmanaged = msclr::interop::marshal_as<std::string>(managed);