This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: try-catch exception
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Jędrzej Dudkiewicz <jedrzej dot dudkiewicz at gmail dot com>
- Cc: vijay nag <vijunag at gmail dot com>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 31 Oct 2013 17:53:41 +0000
- Subject: Re: try-catch exception
- Authentication-results: sourceware.org; auth=none
- References: <CAKhyrx8PKY2CuHe=xWyCHxn4R+9kGY+1iesCjEFrVPVRaUsjbA at mail dot gmail dot com> <CAH6eHdSz6yhUm8CTvu6Z3cc9mnmf9CqL0+QrxhT0A7OndJZ7QQ at mail dot gmail dot com> <CABJqhQOPy32RRQbkb5FyhHJepx-AmdVk_RAC6PQ8P=Enw8m5Sw at mail dot gmail dot com> <CAH6eHdQ1OCOKneCzLn__RBbVtzTM+92RbJtC0nJDrrS2LEeQeA at mail dot gmail dot com> <CABJqhQMoBR7K33gXTy70f79WGVGQ5naDwMFaqT2Lh5h9KjfbRA at mail dot gmail dot com>
On 31 October 2013 17:48, JÄdrzej Dudkiewicz wrote:
> On Thu, Oct 31, 2013 at 6:38 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>> On 31 October 2013 17:19, JÄdrzej Dudkiewicz wrote:
>>>
>>> Even as a infix/suffix? I thought that double underscore is reserved
>>> only if it is used as a prefix?
>>
>> No, a double underscore anywhere makes it a reserved name.
>>
>> â Each name that contains a double underscore _ _ or begins with an
>> underscore followed by an uppercase letter (2.12) is reserved to the
>> implementation for any use.
>
> Thanks. Is it from c++11 or c++98? I'm pretty certain that when I read
> it last time it read only "begins with". But it seems that my memory
> ain't that good after all, eh?
C++98.
IIRC double underscore are not reserved in C except at the beginning
of a name, so maybe that's what you're thinking of.