From f462921cbc52688fb478c6ac86a891e596fd6053 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 26 Jul 2023 13:51:06 -0400 Subject: Alex shard progress --- include/framework/RecordInterface.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/framework') diff --git a/include/framework/RecordInterface.h b/include/framework/RecordInterface.h index cea9fbe..f0d9f5c 100644 --- a/include/framework/RecordInterface.h +++ b/include/framework/RecordInterface.h @@ -40,6 +40,12 @@ concept KVPInterface = RecordInterface && requires(R r) { r.value; }; +template +concept AlexInterface = KVPInterface && requires(R r) { + {r.key} -> std::convertible_to; + {r.value} -> std::convertible_to; +}; + template concept WrappedInterface = RecordInterface && requires(R r, R s, bool b) { {r.header} -> std::convertible_to; @@ -117,6 +123,7 @@ struct WeightedRecord { } }; + template struct CosinePoint{ V data[D]; -- cgit v1.2.3