| 31 | namespace detail { |
| 32 | |
| 33 | template<class T, class Policies> inline |
| 34 | bool test_input(const interval<T, Policies>& x) { |
| 35 | typedef typename Policies::checking checking; |
| 36 | return checking::is_empty(x.lower(), x.upper()); |
| 37 | } |
| 38 | |
| 39 | template<class T, class Policies1, class Policies2> inline |
| 40 | bool test_input(const interval<T, Policies1>& x, const interval<T, Policies2>& y) { |