I was wondering if the following is valid for converting between a managed string and a standard string:
String ^ mymgdstring;
std::string mystdstring = *[PTR TO MYMGDSTRING, NOT SURE OF SYNTAX]
(i.e. create a std string which is equal to the dereferenced pointer to a managed string)
If this isn't valid, why not? What is the best method (i.e. most efficient) for converting between these?
Also, how do you get a pointer to a managed string?