From 0ed53efd407fb4e5462c3c1f606be90bb3f7241b Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 30 Jan 2015 18:18:02 +0100 Subject: Added "Cardinality" type and AnyCardinality constant to RangeSet --- src/core/RangeSet.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/core/RangeSet.hpp') diff --git a/src/core/RangeSet.hpp b/src/core/RangeSet.hpp index fc0070f..f5b56e2 100644 --- a/src/core/RangeSet.hpp +++ b/src/core/RangeSet.hpp @@ -19,6 +19,7 @@ #ifndef _OUSIA_RANGE_SET_HPP_ #define _OUSIA_RANGE_SET_HPP_ +#include #include #include @@ -412,6 +413,13 @@ public: return !(lhs == rhs); } }; + +/** + * This is the default cardinality. + */ +using Cardinality = RangeSet; +extern const Cardinality AnyCardinality; + } #endif /* _OUSIA_RANGE_SET_HPP_ */ -- cgit v1.2.3