Juce String to std::wstring?


#1

Anyone knows how to convert a Juce String to a std::wstring since the (const juce_wchar*) cast no longer works? On Windows, using .toUtf16() seems to work but not on Mac.


#2

“wstring (s.toWideCharPointer())” should work.