halcheck 1.0
Loading...
Searching...
No Matches

◆ to_string()

template<typename T >
std::string halcheck::lib::to_string ( const T & value)

Converts a value to a std::string using operator<<.

Template Parameters
TThe type of value to convert from.
Parameters
valueThe value to convert from.
Returns
The result of the conversion.

This function can only be called if lib::is_printable<T>() holds.