9template <
typename Sortable>
17 throw std::invalid_argument(
"It must be max >= min.");
20 Sortable
min()
const {
22 throw std::runtime_error(
"The range is infinite.");
26 Sortable
max()
const {
28 throw std::runtime_error(
"The range is infinite.");
37 bool _is_finite{
false};
Range(Sortable min, Sortable max)
Helper struct to extract whether a type supports certain operations.