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

Type having string-convertible x, y, z members and sizeof(T) == 3 * sizeof(x) More...

#include <to_string.hpp>

Concept definition

template<typename T>
concept gz::util::Vector3ConvertibleToString = !_ToStringBasicNoPtr<T> &&
requires(T t) {
{ t.x } -> _ToStringBasicNoPtr;
{ t.y } -> _ToStringBasicNoPtr;
{ t.z } -> _ToStringBasicNoPtr;
requires sizeof(t.x) * 3 == sizeof(T);
}
Type having string-convertible x, y, z members and sizeof(T) == 3 * sizeof(x)
Definition: to_string.hpp:93

Detailed Description

Type having string-convertible x, y, z members and sizeof(T) == 3 * sizeof(x)