Beman Dawes <[EMAIL PROTECTED]> writes:
> At 10:08 PM 8/25/2003, David Abrahams wrote:
> >David Abrahams <[EMAIL PROTECTED]> writes:
> >
> >> > What about:
> >> >
> >> > assert( p.branch_path().empty() );
> >> >
> >> > Isn't that closer to what you are trying to express?
> >>
> >> I
At 10:08 PM 8/25/2003, David Abrahams wrote:
>David Abrahams <[EMAIL PROTECTED]> writes:
>
>> > What about:
>> >
>> > assert( p.branch_path().empty() );
>> >
>> > Isn't that closer to what you are trying to express?
>>
>> I guess so. I didn't see branch_path().
>
>BTW, it would feel much more
At 09:48 PM 8/25/2003, David Abrahams wrote:
>"Rainer Deyke" <[EMAIL PROTECTED]> writes:
>
>> It is my understanding that paths are implemented as
>> std::vector or something similar, where the individual
>> strings can contain slashes if the underlying filesystem allows it.
>> It would be a shame
David Abrahams <[EMAIL PROTECTED]> writes:
> > What about:
> >
> > assert( p.branch_path().empty() );
> >
> > Isn't that closer to what you are trying to express?
>
> I guess so. I didn't see branch_path().
BTW, it would feel much more natural to me if it were
path root() const;
Beman Dawes <[EMAIL PROTECTED]> writes:
> At 03:55 PM 8/21/2003, David Abrahams wrote:
>
> >Beman Dawes <[EMAIL PROTECTED]> writes:
> >
> >> At 08:31 PM 8/19/2003, David Abrahams wrote:
> >> >
> >> >It surprised me a bit that leaf returns a string instead of a path.
> >>
> >> The rule isn
"Rainer Deyke" <[EMAIL PROTECTED]> writes:
> David Abrahams wrote:
>> "Rainer Deyke" <[EMAIL PROTECTED]> writes:
>>
>>> David Abrahams wrote:
A single component of a path is still a path, and it
shouldn't devolve into a string.
>>>
>>> I disagree. While a path with just one component ca
At 03:55 PM 8/21/2003, David Abrahams wrote:
>Beman Dawes <[EMAIL PROTECTED]> writes:
>
>> At 08:31 PM 8/19/2003, David Abrahams wrote:
>> >
>> >It surprised me a bit that leaf returns a string instead of a path.
>>
>> The rule isn't entirely obvious. If a decomposition function can
>> possibly