src
Main Page
Namespaces
Classes
Files
File List
File Members
util
static_assert.h
Go to the documentation of this file.
1
#ifndef _RE2C_UTIL_STATIC_ASSERT_
2
#define _RE2C_UTIL_STATIC_ASSERT_
3
4
namespace
re2c
{
5
6
template
<
bool
>
struct
static_assert_t
;
7
template
<>
struct
static_assert_t
<true> {};
8
9
}
// namespace re2c
10
11
#define RE2C_STATIC_ASSERT(e) \
12
{ re2c::static_assert_t<e> _; (void) _; }
13
14
#endif // _RE2C_UTIL_STATIC_ASSERT_
re2c
Definition:
bitmap.cc:10
re2c::static_assert_t
Definition:
static_assert.h:6
Generated by
1.8.10