summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/algorithm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/algorithm.h b/src/common/algorithm.h
index 18e7ece98..e21b1373c 100644
--- a/src/common/algorithm.h
+++ b/src/common/algorithm.h
@@ -7,6 +7,11 @@
#include <algorithm>
#include <functional>
+// Algorithms that operate on iterators, much like the <algorithm> header.
+//
+// Note: If the algorithm is not general-purpose and/or doesn't operate on iterators,
+// it should probably not be placed within this header.
+
namespace Common {
template <class ForwardIt, class T, class Compare = std::less<>>