summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-15 20:56:15 +0200
committerLioncash <mathew1800@gmail.com>2019-10-15 21:25:23 +0200
commitd5706346d7e95984a003bfeedf1b8ffed6dd9422 (patch)
tree1966d00f489790ec77e3d55e0b40d9e047272411 /src/common
parentcommon: Rename binary_find.h to algorithm.h (diff)
downloadyuzu-d5706346d7e95984a003bfeedf1b8ffed6dd9422.tar
yuzu-d5706346d7e95984a003bfeedf1b8ffed6dd9422.tar.gz
yuzu-d5706346d7e95984a003bfeedf1b8ffed6dd9422.tar.bz2
yuzu-d5706346d7e95984a003bfeedf1b8ffed6dd9422.tar.lz
yuzu-d5706346d7e95984a003bfeedf1b8ffed6dd9422.tar.xz
yuzu-d5706346d7e95984a003bfeedf1b8ffed6dd9422.tar.zst
yuzu-d5706346d7e95984a003bfeedf1b8ffed6dd9422.zip
Diffstat (limited to 'src/common')
-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<>>