From 0cf160ee68d37be93665e665ef22ae6e211a157d Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 22 May 2023 14:58:22 -0400 Subject: More updates/restructuring --- include/framework/ShardInterface.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'include/framework/ShardInterface.h') diff --git a/include/framework/ShardInterface.h b/include/framework/ShardInterface.h index 1f48a45..3aa62df 100644 --- a/include/framework/ShardInterface.h +++ b/include/framework/ShardInterface.h @@ -11,12 +11,16 @@ #include #include "util/types.h" +#include "framework/RecordInterface.h" -template -concept ShardInterface = requires(S s, void *p) { - s.point_lookup(); +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_tombstone_count()} -> std::convertible_to; {s.get_memory_usage()} -> std::convertible_to; }; + +} -- cgit v1.2.3