|
Boost Users : |
Subject: Re: [Boost-users] [filesystem] is path comparison case-insensitive on Windows?
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2012-06-15 05:55:04
On 15 June 2012 07:12, Nathan Ridge <zeratul976_at_[hidden]> wrote:
>
> I couldn't find this info in the Filesystem documentation, so I
> thought I'd ask here: is equality comparison between path objects
> case-insensitive on Windows?
Two paths are compared using lexicographical comparison, it says in the docs.
Looking at the implementation, it is case-sensitive lexicographical order.
BTW, the documentation only points
"Case sensitivity is a property of the pathname itself, and not the platform"
So, IMO it is correct to assume filesystem::path is case-sensitive
regardless OS.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
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