tt.h File Reference
#include <cstdint>
#include <iostream>
#include <optional>
#include <sstream>
#include <string>
#include <vector>
#include "ttg/base/terminal.h"
#include "ttg/util/demangle.h"

Classes

class  ttg::TTBase
 A base class for all template tasks. More...
 

Namespaces

 ttg
 top-level TTG namespace contains runtime-neutral functionality
 
 ttg::detail
 

Macros

#define TTG_OP_ASSERT_EXECUTABLE()
 

Functions

bool & ttg::detail::tt_base_trace_accessor (void)
 
bool & ttg::detail::op_base_lazy_pull_accessor (void)
 

Macro Definition Documentation

◆ 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_errorif this is not executable

Definition at line 276 of file tt.h.