cpp-common/bt2: add asConst() methods
[babeltrace.git] / src / cpp-common / bt2 / integer-range-set.hpp
index d50fe28558efcdfdd7fec789cdbe2f53858f70ba..27f5b00378da673fd86c713b073ae8744ea2d85f 100644 (file)
@@ -179,6 +179,11 @@ public:
         return *this;
     }
 
+    _ConstLibObjT asConst() const noexcept
+    {
+        return _ConstLibObjT {*this};
+    }
+
     template <typename OtherLibObjT>
     bool operator==(const CommonIntegerRangeSet<OtherLibObjT> other) const noexcept
     {
This page took 0.033397 seconds and 4 git commands to generate.