Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2005-06-02 08:53:49


Beman Dawes wrote:
...

> Question: what should path("foo//bar//").string() yield?
>
> 1) "foo//bar//"
> 2) "foo/bar/"
> 3) "foo/bar/."

I personally prefer 2, and already filter these beasties using the
string_algo library when I get them from environment variables. Although,
I've been told the multiple slashes are required by our legacy nut-cracker
laden dlls that front-end a fairly old version of gnumake. I've no idea why
they are needed though.

Jeff Flinn


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