Boost logo

Boost :

Subject: Re: [boost] [filesystem] Decomposition of filenames beginning with period?
From: Scott McMurray ([hidden])
Date: 2011-04-07 13:16:15

On Thu, Apr 7, 2011 at 08:31, Olaf van der Spek <olafvdspek_at_[hidden]> wrote:
> On Thu, Apr 7, 2011 at 5:29 PM, Brian Schrom <brian.schrom_at_[hidden]> wrote:
>> 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

Are you sure?

    "if p.filename() contains a dot but does not consist solely of one
or to two dots, returns the substring of p.filename() starting at the
rightmost dot and ending at the path's end. Otherwise, returns an
empty path object." ~

Sounds like stem is "filename.with.many.of" and extension is ".periods".

~ Scott

Boost list run by bdawes at, gregod at, cpdaniel at, john at