// ============================================================= //
//                                                               //
//   File      : static_assert.h                                 //
//   Purpose   : compile time assertion                          //
//                                                               //
//   Institute of Microbiology (Technical University Munich)     //
//   http://www.arb-home.de/                                     //
//                                                               //
// ============================================================= //

#ifndef STATIC_ASSERT_H
#define STATIC_ASSERT_H

#define STATIC_ASSERT(const_expression)                      static_assert(const_expression,#const_expression)
#define STATIC_ASSERT_ANNOTATED(const_expression,failReason) static_assert(const_expression,failReason)

#else
#error static_assert.h included twice
#endif // STATIC_ASSERT_H
