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

6.2.14 Input/Output Functions

std::string as_string() const; 
bool from_string(const std::string& str);

These functions handle conversion between strings, see 4.2 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.