2 #ifndef SYDEVS_STRING_BUILDER_H_
3 #define SYDEVS_STRING_BUILDER_H_
44 std::string
str()
const;
63 std::stringstream stream_;
std::string str() const
Obtains the data stored in the string_builder object as a std::string.
Definition: string_builder.h:73
A class for converting stream objects to string values.
Definition: string_builder.h:27
string_builder()
Constructs a string_builder object.
Definition: string_builder.h:67
string_builder & operator<<(T const &value)
Inserts data into the stream.
Definition: string_builder.h:80
string_builder & operator=(const string_builder &)=delete
No copy assignment.
~string_builder()=default
Destructor.