
AMDG On 2/13/2011 10:28 PM, Ilya Sokolov wrote:
On Fri, 11 Feb 2011 19:01:35 +0500, Jeff Flinn
Boost filesystem IMO, is the proper currency when dealing with paths. It provides path decomposition which is done manually in operations.hpp. It also insulates it's clients from the whole unicode/utf8 issue(or at the least mitigates the issue) as described in several of the longest mailing list threads in my memory.
See above. IMHO, the only problem that fs::path solves is the lack of string type with known encoding. fs::path doesn't have any useful invariant and all of its methods could be implemented as free functions.
I disagree. Even if fs::path does nothing else, it should be used because it expresses the meaning of the code better. In Christ, Steven Watanabe