ʻOhana
Population structure, admixture history, and selection using learning methods.
|
A template for a class that asserts valid conditions. More...
#include <jade.assert.hpp>
Public Types | |
typedef TChar | char_type |
The character type. More... | |
typedef std::basic_string< char_type > | string_type |
The string type. More... | |
Static Public Member Functions | |
static void | validate (const bool is_true, char_type const *const expression, char_type const *const file, const int line) |
Validates an expression is true; if not, this method throws an exception. More... | |
A template for a class that asserts valid conditions.
Definition at line 23 of file jade.assert.hpp.
typedef TChar jade::basic_assertion< TChar >::char_type |
The character type.
Definition at line 27 of file jade.assert.hpp.
typedef std::basic_string<char_type> jade::basic_assertion< TChar >::string_type |
The string type.
Definition at line 30 of file jade.assert.hpp.
|
inlinestatic |
Validates an expression is true; if not, this method throws an exception.
is_true | The validated expression. |
expression | The expression text. |
file | The name of the file. |
line | The line number. |
Definition at line 36 of file jade.assert.hpp.