From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-08-15 12:12:46
Thomas Witt wrote:
> On Thursday 15 August 2002 17:27, Vladimir Prus wrote:
> > Hi,
> > I'd like to append a suffix to a path using the filesystem library, so
> > that
> > directory/path.asm
> > would become
> > directory/path.asm.cpp
> > Yet I see no easy way. Is this use case worth supporting?
> What about
> fs::path path_with_suffix(path.branch() << path.leaf() + ".cpp");
This works, but is rather verbose, in my opinion.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk