source file of the Flower Library
- (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 1996--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#ifndef INTERVAL_TCC
}
template<class T>
-std::string
+string
Interval_t<T>::to_string () const
{
if (is_empty ())
return "[empty]";
- std::string s ("[");
+ string s ("[");
- return (s + T_to_string (at (LEFT)) + std::string (",")
- + T_to_string (at (RIGHT)) + std::string ("]"));
+ return (s + T_to_string (at (LEFT)) + string (",")
+ + T_to_string (at (RIGHT)) + string ("]"));
}
template<class T>