static_assert.h
Go to the documentation of this file.
1 
11 #pragma once
12 #if (!defined(__cplusplus) || __cplusplus < 201103L) && (!defined(_MSC_VER) || _MSC_VER < 1600)
13  #if !defined(static_assert)
14 
15  template <bool> struct static_assert_;
17  template <> struct static_assert_<true> {};
23  #define static_assert(x, m) static_assert_<(x)>()
24  #endif
25 #endif
26 
27