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

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

#include <to_string.hpp>

Concept definition

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

Detailed Description

Type having string-convertible width, height members and sizeof(T) == 2 * sizeof(width)