$search

macros.hpp File Reference

Macros for error-checking and program termination. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DO_JOIN(X, Y)   DO_JOIN2(X,Y)
#define DO_JOIN2(X, Y)   X##Y
#define JOIN(X, Y)   DO_JOIN( X, Y )
#define LOC   __FILE__ ":" TOSTRING(__LINE__) " "
 Stringify the line of code you are at.
#define STRINGIFY(x)   #x
#define TOSTRING(x)   STRINGIFY(x)

Detailed Description

Macros for error-checking and program termination.

Macros for error-checking and program termination.

Date:
April 2009.

Definition in file macros.hpp.


Define Documentation

#define DO_JOIN ( X,
 )     DO_JOIN2(X,Y)

Definition at line 35 of file macros.hpp.

#define DO_JOIN2 ( X,
 )     X##Y

Definition at line 36 of file macros.hpp.

#define JOIN ( X,
 )     DO_JOIN( X, Y )

Definition at line 34 of file macros.hpp.

#define STRINGIFY (  )     #x

Definition at line 23 of file macros.hpp.

#define TOSTRING (  )     STRINGIFY(x)

Definition at line 24 of file macros.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


ecl_errors
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Fri Mar 1 15:21:00 2013