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

Any type where gz::toString(t) exists. More...

#include <to_string.hpp>

Concept definition

template<typename T>
requires (const T& t) {
{ gz::toString(t) } -> std::same_as<std::string>;
}
Any type where gz::toString(t) exists.
Definition: to_string.hpp:409
std::string toString(const T &s)
Declaration of toString in global namespace, so that concepts can use it.

Detailed Description

Any type where gz::toString(t) exists.