Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.1 DD-00006-011

5.2.6 Conversion functions

std::pair<T,T> as_pair() const;

These member functions convert the current instance of the interval<T> class into other formats.

as_pair()


Convert the current interval to a std::pair with the first and second members set to the infinimum and supremum, respectively.