string class wchar_t?

Does the string class in c++ support wchar_t? or is it just char?
It is just char, but you can use std::wstring instead which is the one for wchar_t. And in general, std::basic_string<the char you need goes here>.
Topic archived. No new replies allowed.