#include "dyn_summary.h"
#include "tuple_generic.rs.h"
namespace apache_datasketches_rs {
namespace {
static_assert(std::is_move_constructible<DynSummary>::value,
"DynSummary must be move-constructible: the entry table "
"move-constructs on every rehash and resize");
static_assert(std::is_nothrow_move_constructible<DynSummary>::value,
"DynSummary must be NOTHROW-move-constructible: upstream's entry "
"table move-constructs every entry on rehash and resize, and the "
"explicit move constructor (which disengages the source to keep "
"engaged() == get()-is-valid) must not weaken that");
static_assert(std::is_nothrow_move_assignable<DynSummary>::value,
"DynSummary must be nothrow-move-assignable for the same reason");
static_assert(std::is_copy_constructible<DynSummary>::value,
"DynSummary must be copy-constructible: the entry table "
"copy-constructs when a whole sketch is copied");
static_assert(std::is_destructible<DynSummary>::value,
"DynSummary must be destructible");
static_assert(std::is_default_constructible<DynSummary>::value,
"DynSummary must be default-constructible: DynUpdatePolicy::create() "
"returns a disengaged one");
} }