MySQL 9.6.0
Source Code Documentation
mysql::sets::Is_bounded_set_traits Concept Reference

True if Test is a "bounded" Set traits class. More...

#include <set_traits.h>

Concept definition

template<class Test>
requires(typename Test::Element_t value) {
{ Test::min() } -> std::same_as<typename Test::Element_t>;
{ Test::max_exclusive() } -> std::same_as<typename Test::Element_t>;
{ Test::in_range(value) } -> std::same_as<bool>;
}
True if Test is a "bounded" Set traits class.
Definition: set_traits.h:105
True if Test is an "ordered" Set traits class.
Definition: set_traits.h:88
ValueType value(const std::optional< ValueType > &v)
Definition: gtid.h:83

Detailed Description

True if Test is a "bounded" Set traits class.

This requires that it is ordered, and has static member functions min and max_exclusive that give the minimum and maximum value, respectively, as well as the in_range convenience function that returns true if a value is in the range.