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

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

#include <to_string.hpp>

Concept definition

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

Detailed Description

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