1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-13 17:42:09 +01:00
GPXSee/src/assert.h

12 lines
206 B
C++

#ifndef ASSERT_H
#define ASSERT_H
template<bool> struct CompileTimeAssert;
template<> struct CompileTimeAssert <true> {};
#define STATIC_ASSERT(e) \
(CompileTimeAssert <(e) != 0>())
#endif // ASSERT_H