summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-07-12 18:19:59 +0200
committerljfa-ag <ljfa-ag@web.de>2015-07-12 18:19:59 +0200
commit65750c0c2941c7c71640ad1b9bc8ff43b45889a9 (patch)
treeee6d1fb39209a22d112b8ad6741de5148368816a /include
parent1ce4f17facba4dfe62cf52c83b4d59e51b659c31 (diff)
downloadProject-Tick-65750c0c2941c7c71640ad1b9bc8ff43b45889a9.tar.gz
Project-Tick-65750c0c2941c7c71640ad1b9bc8ff43b45889a9.zip
Change the notion of list equality
Diffstat (limited to 'include')
-rw-r--r--include/tag_list.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tag_list.h b/include/tag_list.h
index fe5a6818fa..2603e4a5ca 100644
--- a/include/tag_list.h
+++ b/include/tag_list.h
@@ -111,6 +111,12 @@ public:
const_iterator cbegin() const;
const_iterator cend() const;
+ /**
+ * @brief Equality comparison for lists
+ *
+ * Lists are considered equal if they contain equal tags. Empty lists
+ * are always considered equal.
+ */
friend bool operator==(const tag_list& lhs, const tag_list& rhs);
friend bool operator!=(const tag_list& lhs, const tag_list& rhs);