#include <algorithm>
#include <array>
#include <cassert>
#include <functional>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>
Go to the source code of this file.
|
#define | CREATE_CUSTOM_TOKEN(name) |
| A macro from which we can create token-colors. Colors ceated this way end up in the symmetri namespace.
|
|
|
static Scheduled | symmetri::Scheduled |
|
static Started | symmetri::Started |
|
static Success | symmetri::Success |
|
static Deadlocked | symmetri::Deadlocked |
|
static Canceled | symmetri::Canceled |
|
static Paused | symmetri::Paused |
|
static Failed | symmetri::Failed |
|
◆ CREATE_CUSTOM_TOKEN
#define CREATE_CUSTOM_TOKEN |
( |
| name | ) |
|
Value: namespace symmetri { \
struct name : public Token { \
constexpr name() : Token(this) {} \
constexpr bool operator==(const Token& c) const { \
return toIndex() == c.toIndex(); \
} \
}; \
static inline name name; \
}
A macro from which we can create token-colors. Colors ceated this way end up in the symmetri namespace.