Subject: Re: [boost] [property_tree] handling of filesystem::path
From: Johan Råde (rade_at_[hidden])
Date: 2010-06-13 16:07:33
On 6/13/2010 5:42 PM, Beman Dawes wrote:
> On Sun, Jun 13, 2010 at 7:23 AM, Sebastian Redl
> <sebastian.redl_at_[hidden]> wrote:
>> Johan Råde wrote:
>>> property_tree::ptree does not handle filesystem::path
>>> values correctly if the path contains spaces.
>> That means that fs::path's streaming operators don't round-trip. That's
>> a Boost.Filesystem bug, not a Boost.PropertyTree bug.
>> Unless you can show that the streaming operators do round-trip, but
>> PTree messes it up.
> Agreed. See https://svn.boost.org/trac/boost/ticket/3863
> I've been working filesystem tickets during the Bug Sprint, and plan
> to work this one within the next few days.
1. The stream operators << and >> can not be implemented in a round-trippable way for fs::path
2. They should be removed from the filesystem library
3. property_tree should handle fs::path without relying on stream_translator
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk