This is the mail archive of the
mailing list for the GCC project.
Re: [Patch] regex_iterator and regex_token_iterator implementation
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Tim Shen <timshen91 at gmail dot com>
- Cc: Paolo Carlini <paolo dot carlini at oracle dot com>, "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 22 Jul 2013 11:10:33 +0100
- Subject: Re: [Patch] regex_iterator and regex_token_iterator implementation
- References: <CAPrifDm07qvEoJEC9BBkRa1yuCrM9vXRoDPTXfJEjfVmj=XKNQ at mail dot gmail dot com> <51EC86EE dot 20004 at oracle dot com> <CAPrifDk8Ur4m3P+Jr-sb231LvWzBPoWFA83hNMRsM5zgP9J0eA at mail dot gmail dot com>
On 22 July 2013 06:13, Tim Shen wrote:
> Actually, in code before this patch, private members in class
> regex_iterator are indeed start without double or single underscore.
> It's because the standard (28.12, n3376) specifies them, though they
> are private. IMHO, they are part of standard, so I use names in it.
They're not specified by the standard, it says
// these members are shown for exposition only:
Which means the names are used only for the purposes of describing the
semantics of the class, they are not normative requirements. See