literal suffix for string not compiling
I have:
1 2 3 4 5 6 7 8 9
|
#include <string>
using namespace std;
void f()
{
auto x = "hello"s;
}
|
and the compiler complains about the suffix s.
it says:
error C3688: invalid literal suffix 's'; literal operator or literal operator template 'operator ""s' not found
|
What am I doing wrong?
Regards
Got it...
Thanks...
Topic archived. No new replies allowed.