E
Erik Knudsen
Hi!
In converting applications from ansi to unicode, it is a problem that
the std::wcout accepts a const char * without complaining compile time.
This compiles and runs:
------------------------------
const char *lookup()
{
return "Hello world";
}
std::wcout << lookup();
------------------------------
I would like it to fail compile time, so I can properly convert cases
like this to unicode in a meaningful way.
Any ideas?
Regards,
Erik Knudsen
In converting applications from ansi to unicode, it is a problem that
the std::wcout accepts a const char * without complaining compile time.
This compiles and runs:
------------------------------
const char *lookup()
{
return "Hello world";
}
std::wcout << lookup();
------------------------------
I would like it to fail compile time, so I can properly convert cases
like this to unicode in a meaningful way.
Any ideas?
Regards,
Erik Knudsen