Boost logo

Boost :

Subject: Re: [boost] [filesystem] Request for comments on proposed relative() function
From: Beman Dawes (bdawes_at_[hidden])
Date: 2014-05-08 16:35:01


On Thu, May 8, 2014 at 3:02 PM, Bjorn Reese <breese_at_[hidden]>wrote:

> On 05/08/2014 07:19 PM, Beman Dawes wrote:
>
> Creates a path from the trailing elements of p that are relative to
>> base.
>>
>
> It may be more user-friendly to add that base must be a prefix of p.

Done.

>
>
> element in [base.begin(), base.end()) is not equal to the corresponding
>> element in [base.begin(), base.end()), throw an exception of type
>>
>
> Shouldn't one of these ranges be about p?
>

Nice catch! The second range should be on p.

--Beman


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