Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
StaticAssert.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HYDRA_STATIC_ASSERT(condition, message)
 

Macro Definition Documentation

◆ HYDRA_STATIC_ASSERT

#define HYDRA_STATIC_ASSERT (   condition,
  message 
)
Value:
static_assert(condition,\
"\033[1;34m"\
"\n\n"\
"|~~~~~~~~~~~~~~< HYDRA STATIC ASSERTION FAILED >~~~~~~~~~~~~~~|\n"\
"> Error : " message"\n\n"\
"> Please inspect the error messages issued above to find the line generating the error.\n"\
"|~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^~~~~~~~~~~~~~~|\n"\
"\n\n"\
"\033[0m");