use std::SameAsAnyOf i.o. is_sale_v

This commit is contained in:
jeremy 2022-11-17 12:45:15 +01:00
parent a17a6aea5a
commit 2f55491271

View File

@ -28,7 +28,7 @@ using EdgeFiller = std::function<bool(const EdgeAccessor &edge, bool is_in_edge,
using msgs::Value;
template <typename T>
concept ObjectAccessor = std::is_same_v<T, VertexAccessor> || std::is_same_v<T, EdgeAccessor>;
concept ObjectAccessor = utils::SameAsAnyOf<T, VertexAccessor, EdgeAccessor>;
inline bool TypedValueCompare(const TypedValue &a, const TypedValue &b) {
// in ordering null comes after everything else