ITK  5.2.0
Insight Toolkit
Namespaces | Macros
itkStaticAssert.h File Reference
#include "itkMacro.h"
+ Include dependency graph for itkStaticAssert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 itk
 

Macros

#define ITK_DO_JOIN(X, Y)   ITK_DO_JOIN2(X, Y)
 
#define ITK_DO_JOIN2(X, Y)   X##Y
 
#define ITK_JOIN(X, Y)   ITK_DO_JOIN(X, Y)
 
#define itkStaticAssert(expr, str)
 

Macro Definition Documentation

◆ ITK_DO_JOIN

#define ITK_DO_JOIN (   X,
 
)    ITK_DO_JOIN2(X, Y)

Definition at line 47 of file itkStaticAssert.h.

◆ ITK_DO_JOIN2

#define ITK_DO_JOIN2 (   X,
 
)    X##Y

Definition at line 48 of file itkStaticAssert.h.

◆ ITK_JOIN

#define ITK_JOIN (   X,
 
)    ITK_DO_JOIN(X, Y)

Definition at line 46 of file itkStaticAssert.h.

◆ itkStaticAssert

#define itkStaticAssert (   expr,
  str 
)
Value:
enum \
{ \
ITK_JOIN(static_assert_typedef, __LINE__) = sizeof(itk::StaticAssertFailure<((expr) == 0 ? false : true)>) \
};

Definition at line 66 of file itkStaticAssert.h.