How do I convert wchar_t* to std::string? August 20, 2023 by Tarik std::wstring ws( args.OptionArg() ); std::string test( ws.begin(), ws.end() );