Loading...
Searching...
No Matches
bbm::concepts::to_string_converter Concept Reference

concept to check if a type has a valid string_converter with: More...

#include <stringconvert.h>

Concept definition

template<typename T>
concept bbm::concepts::to_string_converter = requires(const T& t)
{
{ string_converter<T>::toString(t) } -> std::convertible_to<std::string>;
}
concept to check if a type has a valid string_converter with:
Definition: stringconvert.h:27
static std::string toString(const T &obj)
convert an object to a type T
Definition: stringconvert.h:112

Detailed Description

concept to check if a type has a valid string_converter with: