/* * 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" #include "framework/interface/Record.h" namespace de { //template typename S, typename R> template concept ShardInterface = requires(S s, void *p, bool b) { //{s.point_lookup(r, b) } -> std::same_as; {s.get_record_count()} -> std::convertible_to; {s.get_memory_usage()} -> std::convertible_to; }; }