Boost logo

Boost :

Subject: Re: [boost] [1.44] [filesystem] operator +
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-08-24 12:24:35


On 24 August 2010 01:58, Jochen Wilhelmy <j.wilhelmy_at_[hidden]> wrote:
>
> Sometimes I have file formats that have two parts, e.g. a description xml
> file
> and a data file. then I'd like to do name + ".xml" and name + ".dat" if name
> is
> a fs::path
>

path p1 = "foo/bar.xml";
path p2 = path(p1).replace_extension(".dat");


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk