#include <cstdint>
#include <iostream>
#include <optional>
#include <sstream>
#include <string>
#include <vector>
#include "ttg/base/terminal.h"
#include "ttg/util/demangle.h"
#include "ttg/util/trace.h"
Go to the source code of this file.
|
| namespace | ttg |
| | top-level TTG namespace contains runtime-neutral functionality
|
| |
| namespace | ttg::detail |
| |
◆ TTG_OP_ASSERT_EXECUTABLE
| #define TTG_OP_ASSERT_EXECUTABLE |
( |
| ) |
|
Value: do { \
if (!this->is_executable()) { \
std::ostringstream oss; \
oss << "TT is not executable at " << __FILE__ << ":" << __LINE__; \
throw std::logic_error(oss.str().c_str()); \
} \
} while (0);
Asserts that this is executable Use this macro from inside a derived class
- Exceptions
-
| std::logic_error | if this is not executable |
Definition at line 278 of file tt.h.