C++ Utilities
Loading...
Searching...
No Matches
utilities::has_to_string

A concept that matches any type that has an accessible std::string to_string() const method. More...

#include <formatter.h>

Concept definition

template<typename T>
concept utilities::has_to_string = requires(const T& x) {
{ x.to_string() } -> std::convertible_to<std::string>;
}
A concept that matches any type that has an accessible std::string to_string() const method.
Definition formatter.h:18

Detailed Description

A concept that matches any type that has an accessible std::string to_string() const method.