]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/quickbook/src/value_tags.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / tools / quickbook / src / value_tags.hpp
index ec3312c1ca15ff8f56a943580c239068b0efa20d..42a5313fa2451215f7f64797fec420809a38e090 100644 (file)
@@ -36,6 +36,9 @@
         \
         typedef boost::integer_range<int> range_type; \
         static range_type tags() { return boost::irange(start_index, (int) end_index); } \
+        static bool is_tag(int value) { \
+            return value >= start_index && value < (int) end_index; \
+        } \
     };
 
 #define QUICKBOOK_VALUE_CASE(r, _, value) \
@@ -61,6 +64,9 @@
         \
         typedef boost::integer_range<int> range_type; \
         static range_type tags() { return boost::irange(start_index, (int) end_index); } \
+        static bool is_tag(int value) { \
+            return value >= start_index && value < (int) end_index; \
+        } \
     };
 
 #define QUICKBOOK_VALUE_NAMED_ENUM(r, _, value) \