Subject: Re: [boost] [filesystem] Decomposition of filenames beginning with period?
From: Vicente BOTET (vicente.botet_at_[hidden])
Date: 2011-04-07 13:32:19
> Message du 07/04/11 19:24
> De : "Olaf van der Spek"
> A : boost_at_[hidden]
> Copie Ã :
> Objet : Re: [boost] [filesystem] Decomposition of filenames beginning with period?
> On Thu, Apr 7, 2011 at 7:16 PM, Scott McMurray 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
For me the extension is "gz" and the stem is "file.tar".
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk