Loading...
Searching...
No Matches
bbm::concepts::from_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::from_string_converter = requires(const T& t)
{
{ string_converter<T>::fromString(std::declval<std::string>()) } -> std::same_as<T>;
}
concept to check if a type has a valid string_converter with:
Definition: stringconvert.h:39
static T fromString(const std::string &str)
convert a string to a type T
Definition: stringconvert.h:61

Detailed Description

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