Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::filesystem::native
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-11-10 18:02:55


On 11/11/2016 11:50, Christopher J. Pisz wrote:
>> That's especially weird considering that "\P" should be an invalid
>> escape sequence, which should give you a compiler warning/error
>> and/or should make "\PATH" give identical results to "\\PATH".

Disregard this and check my other reply. I was confused and incorrect
about how invalid escapes are treated.

> reinterpret_cast<char *>(L"C://PATH"))

Never ever do that. Just, no.


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