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 13:23:03

On Thu, Apr 7, 2011 at 7:16 PM, Scott McMurray <[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?

That's what I'd think.

>    "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".

Hmm, I was thinking about stuff like file.tar.gz


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