|
MPL11
|
The Orderable typeclass is used for totally ordered datatypes.
More...
Classes | |
| struct | boost::mpl11::less< x1, x2, xs > |
Returns whether the given objects are ordered according to the < ordering. More... | |
| struct | boost::mpl11::less_equal< x1, x2, xs > |
Returns whether the given objects are ordered according to the <= ordering. More... | |
| struct | boost::mpl11::greater< x1, x2, xs > |
Returns whether the given objects are ordered according to the > ordering. More... | |
| struct | boost::mpl11::greater_equal< x1, x2, xs > |
Returns whether the given objects are ordered according to the >= ordering. More... | |
| struct | boost::mpl11::min< x1, x2, xs > |
Returns the smallest of its arguments according to the ordering induced by less. More... | |
| struct | boost::mpl11::max< x1, x2, xs > |
Returns the largest of its arguments according to the ordering induced by less. More... | |
The Orderable typeclass is used for totally ordered datatypes.
less, less_equal, greater, greater_equal, min and max.
The less, less_equal, greater and greater_equal methods can all be invoked with more than two arguments, in which case the method's behavior conforms to the usual mathematical usage. Specifically, less<x1, x2, xs...> is equivalent to and_<less<x1, x2>, less<x2, xs...>>.
The min and max methods can also be invoked with more than two arguments. Specifically, min<x1, x2, xs...> is equivalent to min<min<x1, x2>, xs...>.
less
1.8.7