Boost logo

Boost Users :

Subject: Re: [Boost-users] boost filesystem
From: Christopher (cpisz_at_[hidden])
Date: 2012-01-24 15:00:25


John Emmas <johne53 <at> tiscali.co.uk> writes:

> I've just discovered to my dismay that Microsoft's implementation of
fstream, ifstream and ofstream are fatally flawed.

How so?

You fail to explain how it does anything other than what the standard tells
you it does.

Please give a code example of this flaw.

If you are using a UTF16LE path, casting it to const char *, and passing it as
an argument to ifstream, then it is no wonder you're not getting the results
you expect.


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