From 033916a4f9d3fd19659a3bc8c5737f52d327b3d4 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Thu, 7 Apr 2022 15:13:33 +0200 Subject: refactor FileRoot::DirectoryEntries ... to foster the implementation of the built-in target "TREE" --- src/utils/cpp/concepts.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils/cpp/concepts.hpp') diff --git a/src/utils/cpp/concepts.hpp b/src/utils/cpp/concepts.hpp index 597179e1..04b2bfcc 100644 --- a/src/utils/cpp/concepts.hpp +++ b/src/utils/cpp/concepts.hpp @@ -66,4 +66,10 @@ concept ClockHasFromTime = requires(std::time_t const t) { T::from_time_t(t); }; +template +concept StrMapConstForwardIterator = requires(T const c) { + { (*c).first } + ->same_as; +}; + #endif // INCLUDED_SRC_UTILS_CPP_CONCEPTS_HPP -- cgit v1.2.3