Go to the documentation of this file.
35#define NAMESPACE_BEGIN(A) namespace A {
36#define NAMESPACE_END(A) }
37#define GRID_NAMESPACE_BEGIN NAMESPACE_BEGIN(Grid)
38#define GRID_NAMESPACE_END NAMESPACE_END(Grid)
39#define NAMESPACE_CHECK(x) struct namespaceTEST##x {}; static_assert(std::is_same<namespaceTEST##x, ::namespaceTEST##x>::value,"Not in :: at" );
41#define EXCEPTION_CHECK_BEGIN(A) try {
42#define EXCEPTION_CHECK_END(A) } catch ( std::exception e ) { BACKTRACEFP(stderr); std::cerr << __PRETTY_FUNCTION__ << " : " <<__LINE__<< " Caught exception "<<e.what()<<std::endl; throw; }