Windows/MinGW extension: opening std::fstream with a wstring/wchar_t*

Jonathan Wakely jwakely.gcc@gmail.com
Sun Jun 26 15:39:00 GMT 2011


On 26 June 2011 16:26, Jonathan Wakely wrote:
> On 26 June 2011 16:06, Ruben Van Boxem wrote:
>>
>> No extra #includes are necessary, and for now I #ifdef'ed the extra
>> code with #if _WIN32. Perhaps cleaner would be a configure check for
>> OS or CRT used and a __GLIBCXX* macro to enable this functionality.
>
> I think that would be better.

N.B. it should be _GLIBCXX with a single underscore, not two.



More information about the Libstdc++ mailing list