Jpp
test_elongated_shower_pde
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JLang
JAssert.hh
Go to the documentation of this file.
1
#ifndef __JLANG__JASSERT__
2
#define __JLANG__JASSERT__
3
4
/**
5
* \author mdejong
6
*/
7
8
namespace
JLANG {}
9
namespace
JPP {
using namespace
JLANG; }
10
11
namespace
JLANG {
12
13
/**
14
* Generation of compiler error.
15
*/
16
template
<
bool
,
class
T =
void
>
17
struct
JAssert
;
18
19
/**
20
* Implementation of valid assertion.
21
*/
22
template
<
class
T>
23
struct
JAssert
<true,
T
>
24
{
25
static
const
bool
value =
true
;
26
27
typedef
T
type
;
28
};
29
}
30
31
#define STATIC_CHECK(expr) { JLANG::JAssert<expr>(); }
32
33
#endif
JLANG::JAssert
Generation of compiler error.
Definition:
JAssert.hh:17
JLANG::JAssert< true, T >::type
T type
Definition:
JAssert.hh:27
T
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Definition:
JCalibrateHeight.sh:61
Generated by
1.8.5