Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::filesystem::native
From: Christopher J. Pisz (cpisz_at_[hidden])
Date: 2016-11-10 16:40:45


On 11/10/2016 2:19 PM, Fernando Gomes da Silva wrote:
> std::cout << boost::filesystem::native("C://PATH") << std::endl;
> std::cout << boost::filesystem::native("C:/PATH") << std::endl;
> std::cout << boost::filesystem::native("C:\\PATH") << std::endl;
> std::cout << boost::filesystem::native("C:\PATH") << std::endl;
> std::cout << boost::filesystem::native("\PATH") << std::endl;
> std::cout << boost::filesystem::native("\\PATH") << std::endl;
> std::cout << boost::filesystem::native("/PATH") << std::endl;
> std::cout << boost::filesystem::native("//PATH") << std::endl;

0
0
0
0
1
0
0
0

Not at all the expected results.


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