/* * include/framework/ShardInterface.h * * Copyright (C) 2023 Douglas Rumbaugh * * All rights reserved. Published under the Modified BSD License. * */ #pragma once #include #include "util/types.h" template concept ShardInterface = requires(S s, void *p) { s.point_lookup(); {s.get_record_count()} -> std::convertible_to; {s.get_tombstone_count()} -> std::convertible_to; {s.get_memory_usage()} -> std::convertible_to; };