std::pair<T,T> as_pair() const;
These member functions convert the current instance of the interval<T> class into other formats.
Convert the current interval to a std::pair with the first and second members set to the infinimum and
supremum, respectively.