Boost logo

Boost :

Subject: Re: [boost] [filesystem] Decomposition of filenames beginning with period?
From: Olaf van der Spek (olafvdspek_at_[hidden])
Date: 2011-04-07 11:31:58


On Thu, Apr 7, 2011 at 5:29 PM, Brian Schrom <brian.schrom_at_[hidden]> wrote:
> On 04/07/2011 08:14 AM, Beman Dawes wrote:
>> Boost.Filesystem class path views filenames as being made up of a stem
>> and an extension.
>>
>>
>> Does anyone have a stronger argument than intuition for changing or
>> retaining the current behavior?
>
> Not an argument for or against, but what is the stem and extension in
> 'filename.with.many.of.periods'?  I think the rule you apply to this
> should be consistent with .file

stem: filename
extension: .with.many.of.periods

I think Beman is saying that stem can't be empty.

-- 
Olaf

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