Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiling exception/get_error_info.hpp in Visual Stuido UNICODE project
From: Igor R (boost.lists_at_[hidden])
Date: 2009-04-22 13:56:15


>  I'm trying to compile my project in MS Visual Studio 2008 with UNICODE and _UNICODE symbols defined. This automatically makes std::string resolve to std::wstring.

Neither UNICODE nor _UNICODE make std::string to be std::wstring.
These are defined as follows:

typedef basic_string<char, char_traits<char>, allocator<char> > string;
typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t>
> wstring;

Probably you've got some #define in your own code.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net