Std::String is the CPP standard library string type, System::String is the type in CLR CPP, and System::String can be used in both C-sharp and CLR CPP programs.
The benefits ofStd::String are obvious. It is part of the standard CPP, and other systems such as Linux can also use Std::String.
but if my program only needs to run on Windows, not on other systems such as Linux, should I use System::String or Std::String?
in theory, since Microsoft has created a System::String in addition to Std, this string type should also have its advantages over standard String. What are the advantages? Apart from the fact that C-sharp can also be used, is there any practical advantage over Std::String?