#include <iostream>
#include <sstream>
#include <cassert>
#include <vector>
#include <cmath>
#include <list>
#include <string>
#include <algorithm>
Go to the source code of this file.
|
#define | assertM(condition, message) |
|
◆ assertM
#define assertM |
( |
|
condition, |
|
|
|
message |
|
) |
| |
Value: do {\
if (!(condition)) { \
std::cerr << "---------------------------------------------------------" \
<< std::endl << "Error assertion not verified" << std::endl << \
" file: " << __FILE__ << std::endl << \
" line: " << __LINE__ << std::endl << \
" assertion: `" #condition "` failed" << std::endl \
<< " " << message << std::endl \
<< "---------------------------------------------------------" << std::endl; \
std::exit(EXIT_FAILURE); \
} \
} while (false)
◆ TypeError
Enumeration for the type of error (warning, error)
◆ errors
◆ warnings