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

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

#include <to_string.hpp>

Concept definition

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

Detailed Description

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