46template <
typename Po
intType,
typename SizeType>
65 using type = peak_common_interval_u;
71 using type = peak_common_interval;
77 using type = peak_common_interval_f;
81struct c_type_of_<
RectangleT<int32_t, uint32_t>>
83 using type = peak_common_rectangle;
89 using type = peak_common_rectangle_f;
93struct c_type_of_<
RectangleT<uint32_t, uint32_t>>
95 using type = peak_common_rectangle_u;
99struct c_type_of_<
PointT<int32_t>>
101 using type = peak_common_point;
105struct c_type_of_<
PointT<uint32_t>>
107 using type = peak_common_point_u;
111struct c_type_of_<
PointT<float>>
113 using type = peak_common_point_f;
117struct c_type_of_<
SizeT<uint32_t>>
119 using type = peak_common_size;
123struct c_type_of_<
SizeT<float>>
125 using type = peak_common_size_f;
131 using type = peak_common_version;
134template <
typename...>
138using c_type_of_t =
typename c_type_of_<T>::type;
141using handle_of_t = c_type_of_t<T>*;
143template <
typename,
typename =
void>
144struct has_c_type_of : std::false_type
148struct has_c_type_of<T, void_t<typename c_type_of_<T>::type>> : std::true_type
Represents a structured version identifier with four components: major, minor, subminor,...
Definition peak_common_version.hpp:37
Represents a continuous numeric interval with inclusive lower and upper bounds.
Definition peak_common_interval.hpp:44
2D point template type.
Definition peak_common_point.hpp:192
A generic rectangle defined by a point and a size.
Definition peak_common_rectangle.hpp:41
Represents a two-dimensional size with non-negative width and height.
Definition peak_common_size.hpp:42
Version_t Version()
Query the library version.
Definition peak_afl.hpp:2162
Namespace for internal implementation details and low-level types.
Definition peak_common_math.hpp:24
Root namespace for common types and interfaces shared across multiple libraries.
Definition peak_common_math.hpp:22
Represents a floating-point interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:57
Represents an unsigned integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:43
Represents an integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:29
Represents a 2D point with floating-point coordinates.
Definition peak_common_simple_types.h:136
Represents a 2D point with unsigned integer coordinates.
Definition peak_common_simple_types.h:119
Represents a 2D point with signed integer coordinates.
Definition peak_common_simple_types.h:102
Represents a rectangle defined by a floating-point position and size.
Definition peak_common_simple_types.h:206
Represents a rectangle defined by an unsigned integer position and unsigned integer size.
Definition peak_common_simple_types.h:183
Represents a rectangle defined by a position and unsigned integer size.
Definition peak_common_simple_types.h:160
Represents a 2D size with floating-point dimensions.
Definition peak_common_simple_types.h:85
Represents a 2D size with unsigned integer dimensions.
Definition peak_common_simple_types.h:71
Represents a version number.
Definition peak_common_simple_types.h:228