gz-cpp-util 1.3
A c++20 library containing various utilities
gz::util::HasToStringMember Concept Reference

has .toString() const member More...

#include <to_string.hpp>

Concept definition

template<typename T>
requires(const T& t) { { t.toString() }-> Stringy; }
can construct std::string from T
Definition: to_string.hpp:30
has .toString() const member
Definition: to_string.hpp:38
same as std::string, std::string_view or const char*
Definition: to_string.hpp:26

Detailed Description

has .toString() const member