Hi,
I'm trying to make my code UNICODE safe, but there's not "_tstring" in the
standard (or is there?).
What is the best way to make it compatible with future versions of the
standard?
So far I use:
#ifndef _TSTRING_DEFINE D
#define _TSTRING_DEFINE D
namespace std {
typedef std::basic_stri ng<_TCHAR_tstri ng;
};
#endif
std::_tstring g_mystring;
(since this works fine with intellisense :P )
--
------------------------------------
Gernot Frisch
I'm trying to make my code UNICODE safe, but there's not "_tstring" in the
standard (or is there?).
What is the best way to make it compatible with future versions of the
standard?
So far I use:
#ifndef _TSTRING_DEFINE D
#define _TSTRING_DEFINE D
namespace std {
typedef std::basic_stri ng<_TCHAR_tstri ng;
};
#endif
std::_tstring g_mystring;
(since this works fine with intellisense :P )
--
------------------------------------
Gernot Frisch
Comment