This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: try-catch exception


On Thu, Oct 31, 2013 at 3:17 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 31 October 2013 13:36, vijay nag wrote:
>>
>> I have a sample code snippet below.
>>
>> $cat TryCatch.h
>> #ifndef __TRYCATCH_H__
>> #define __TRYCATCH_H__
>
> This is a reserved name. Never, ever use double underscore in a name
> unless you are a compiler or standard library implementor.  This bad
> habit must be stamped out, TRYCATCH_H is a suitable include guard.

Even as a infix/suffix? I thought that double underscore is reserved
only if it is used as a prefix?
-- 
JÄdrzej Dudkiewicz

I really hate this damn machine, I wish that they would sell it.
It never does just what I want, but only what I tell it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]