|
| static constexpr Element_t | min () |
| | Return the minimum allowed value. More...
|
| |
| static constexpr Element_t | max_exclusive () |
| |
| static constexpr bool | lt_impl (const Element_t &left, const Element_t &right) |
| |
| static constexpr std::strong_ordering | cmp_impl (const Element_t &left, const Element_t &right) |
| |
| static constexpr Element_t | next (const Element_t &element) |
| |
| static constexpr Element_t | prev (const Element_t &element) |
| |
| static constexpr bool | in_range (const Element_t &element) |
| |
| static constexpr std::strong_ordering | cmp (const Element_t &left, const Element_t &right) |
| |
| static constexpr bool | lt (const Element_t &left, const Element_t &right) |
| |
| static constexpr bool | le (const Element_t &left, const Element_t &right) |
| |
| static constexpr bool | gt (const Element_t &left, const Element_t &right) |
| |
| static constexpr bool | ge (const Element_t &left, const Element_t &right) |
| |
| static constexpr Difference_t | sub (const Element_t &left, const Element_t &right) |
| |
| static constexpr Difference_t | add (const Difference_proxy_t &left, const Difference_proxy_t &right) |
| |
| static constexpr Element_t | add (const Element_t &left, const Difference_proxy_t &right) |
| |
| static constexpr Element_t | add (const Difference_proxy_t &left, const Element_t &right) |
| |
template<std::integral Element_tp, Element_tp min_tp = std::numeric_limits<Element_tp>::min(), Element_tp max_exclusive_tp = std::numeric_limits<Element_tp>::max()>
struct mysql::sets::Int_set_traits< Element_tp, min_tp, max_exclusive_tp >
Set traits for integral types.
- Template Parameters
-
| Element_tp | The integral type. |
| min_tp | The minimum value. Default is the minimum value for the type (negative for signed types, 0 for unsigned types). |
| max_exclusive_tp | The maximum value. Default is the maximum value for the type. |
- Note
- This reserves std::numeric_limits<Element_tp>::max() for exclusive endpoints, so that value cannot be represented in the set.