NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::StaticAssert< bool > Struct Template Reference

Compile time assertions. More...

#include <static_assert.h>

Detailed Description

template<bool>
struct nest::StaticAssert< bool >

Compile time assertions.

Usage:

static const StaticAssert<bool-test>::success unique-var-name;
Compile time assertions.
Definition static_assert.h:47

or

typedef StaticAssert<bool-test>::success unique-type-name;

Allows compilation if the bool-test is true. If bool-test is false, fails to compile because success is not defined.


The documentation for this struct was generated from the following file: