44template <
typename Po
intType,
typename SizeType>
66 using type = peak_common_interval_u;
72 using type = peak_common_interval;
78 using type = peak_common_interval_f;
82struct c_type_of_<
RangeT<uint32_t>>
84 using type = peak_common_range_u;
88struct c_type_of_<
RangeT<int32_t>>
90 using type = peak_common_range;
94struct c_type_of_<
RangeT<float>>
96 using type = peak_common_range_f;
100struct c_type_of_<
RectangleT<int32_t, uint32_t>>
102 using type = peak_common_rectangle;
108 using type = peak_common_rectangle_f;
112struct c_type_of_<
RectangleT<uint32_t, uint32_t>>
114 using type = peak_common_rectangle_u;
118struct c_type_of_<
PointT<int32_t>>
120 using type = peak_common_point;
124struct c_type_of_<
PointT<uint32_t>>
126 using type = peak_common_point_u;
130struct c_type_of_<
PointT<float>>
132 using type = peak_common_point_f;
136struct c_type_of_<
SizeT<uint32_t>>
138 using type = peak_common_size;
142struct c_type_of_<
SizeT<float>>
144 using type = peak_common_size_f;
150 using type = peak_common_version;
153template <
typename...>
157using c_type_of_t =
typename c_type_of_<T>::type;
160using handle_of_t = c_type_of_t<T>*;
162template <
typename,
typename =
void>
163struct has_c_type_of : std::false_type
167struct has_c_type_of<T, void_t<typename c_type_of_<T>::type>> : std::true_type
Represents a structured version identifier following Semantic Versioning 2.0 (major....
Definition peak_common_version.hpp:30
Represents a continuous numeric interval with inclusive lower and upper bounds.
Definition peak_common_interval.hpp:39
2D point template type.
Definition peak_common_point.hpp:187
Represents a numeric range with defined boundaries and a fixed increment.
Definition peak_common_range.hpp:40
A generic rectangle defined by a point and a size.
Definition peak_common_rectangle.hpp:37
Represents a two-dimensional size with non-negative width and height.
Definition peak_common_size.hpp:37
@ Version
Definition peak_device_descriptor.hpp:61
Namespace for internal implementation details and low-level types.
Definition peak_common_math.hpp:19
Root namespace for common types and interfaces shared across multiple libraries.
Definition peak_common_math.hpp:17
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_buffer.hpp:29
Represents a floating-point interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:52
Represents an unsigned integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:38
Represents an integer interval with inclusive minimum and maximum bounds.
Definition peak_common_simple_types.h:24
Represents a 2D point with floating-point coordinates.
Definition peak_common_simple_types.h:182
Represents a 2D point with unsigned integer coordinates.
Definition peak_common_simple_types.h:165
Represents a 2D point with signed integer coordinates.
Definition peak_common_simple_types.h:148
Represents a floating-point range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:100
Represents an unsigned integer range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:83
Represents an integer range with inclusive minimum and maximum bounds and an increment step.
Definition peak_common_simple_types.h:66
Represents a rectangle defined by a floating-point position and size.
Definition peak_common_simple_types.h:252
Represents a rectangle defined by an unsigned integer position and unsigned integer size.
Definition peak_common_simple_types.h:229
Represents a rectangle defined by a position and unsigned integer size.
Definition peak_common_simple_types.h:206
Represents a 2D size with floating-point dimensions.
Definition peak_common_simple_types.h:131
Represents a 2D size with unsigned integer dimensions.
Definition peak_common_simple_types.h:117
Represents a version number.
Definition peak_common_simple_types.h:274