try-catch exception

Jonathan Wakely jwakely.gcc@gmail.com
Thu Oct 31 14:17:00 GMT 2013


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.



More information about the Gcc-help mailing list