Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.0 DD-00006-010
6.3.15 Input/Output Functions
std::string as_string() const;
bool from_string(const std::string& str);

These functions handle conversion between strings, see 4.3 for string representations.

as_string()


Returns the interval object as a string.

from_string(const std::string& str)


Attempts to parse the given string and set the infinimum and supremum of the current object. Returns whether the parsing was successful.