diff options
Diffstat (limited to 'include/framework/interface')
| -rw-r--r-- | include/framework/interface/Query.h | 5 | ||||
| -rw-r--r-- | include/framework/interface/Record.h | 7 |
2 files changed, 3 insertions, 9 deletions
diff --git a/include/framework/interface/Query.h b/include/framework/interface/Query.h index 8cf9660..3d487f0 100644 --- a/include/framework/interface/Query.h +++ b/include/framework/interface/Query.h @@ -9,12 +9,9 @@ #pragma once #include "framework/QueryRequirements.h" -#include <concepts> namespace de{ -// FIXME: The interface is not completely specified yet, as it is pending -// determining a good way to handle additional template arguments -// to get the Shard and Record types into play + template <typename Q, typename R, typename S> concept QueryInterface = requires(void *p, S *sh, std::vector<void*> &s, std::vector<std::vector<Wrapped<R>>> &rv, BufferView<R> *bv) { {Q::get_query_state(sh, p)} -> std::convertible_to<void*>; diff --git a/include/framework/interface/Record.h b/include/framework/interface/Record.h index 29df4b6..5b9f307 100644 --- a/include/framework/interface/Record.h +++ b/include/framework/interface/Record.h @@ -138,7 +138,7 @@ struct CosinePoint{ return true; } - // lexicographic order + /* lexicographic order */ inline bool operator<(const CosinePoint& other) const { for (size_t i=0; i<D; i++) { if (data[i] < other.data[i]) { @@ -182,7 +182,7 @@ struct EuclidPoint{ return true; } - // lexicographic order + /* lexicographic order */ inline bool operator<(const EuclidPoint& other) const { for (size_t i=0; i<D; i++) { if (data[i] < other.data[i]) { @@ -228,7 +228,4 @@ public: private: R *P; }; - - - } |