xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.

§ operator""_s() [1/6]

std::string xtd::operator""_s ( const char *  s,
size_t  n 
)
inline

Used to convert specified value into System::String.

Library
xtd.core
Examples
std::string s = "This is a "_s + "simple test"_s;
std::cout << s << std::endl;