#include <snapshot.hpp>
Definition at line 177 of file snapshot.hpp.
◆ apply() [1/2]
template<typename
T , typename F >
static auto sysio::chain::detail::row_validation_helper::apply |
( |
const T & | , |
|
|
F | f ) -> std::enable_if_t<!is_chainbase_object_v<T>> |
|
inlinestatic |
◆ apply() [2/2]
template<typename
T , typename F >
static auto sysio::chain::detail::row_validation_helper::apply |
( |
const T & | data, |
|
|
F | f ) -> std::enable_if_t<is_chainbase_object_v<T>> |
|
inlinestatic |
Definition at line 179 of file snapshot.hpp.
179 {
180 auto orig = data.id;
182 SYS_ASSERT(orig == data.id, snapshot_exception,
183 "Snapshot for ${type} mutates row member \"id\" which is illegal",
184 (
"type",boost::core::demangle(
typeid(
T ).name() )));
185 }
#define SYS_ASSERT(expr, exc_type, FORMAT,...)
#define T(meth, val, expected)
The documentation for this struct was generated from the following file: