NEST
main@caf0ae8
Loading...
Searching...
No Matches
static_assert.h
Go to the documentation of this file.
1
/*
2
* static_assert.h
3
*
4
* This file is part of NEST.
5
*
6
* Copyright (C) 2004 The NEST Initiative
7
*
8
* NEST is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* NEST is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with NEST. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
23
#ifndef STATIC_ASSERT
24
#define STATIC_ASSERT
25
26
namespace
nest
27
{
28
45
template
<
bool
>
46
struct
StaticAssert
47
{
48
};
49
50
template
<>
51
struct
StaticAssert
< true >
52
{
53
struct
success
54
{
55
};
56
};
57
}
58
59
#endif
/* #ifndef STATIC_ASSERT */
nest
Namespace for the NEST simulation kernel.
Definition
beta_normalization_factor.h:33
nest::StaticAssert
Compile time assertions.
Definition
static_assert.h:47
nestkernel
static_assert.h
Generated on Fri Sep 18 2026 07:43:44 for NEST by
1.9.8