ToyGine2 26.2.0
Game Engine for retro consoles
Loading...
Searching...
No Matches
toy::math::fixed_point Concept Reference

Concept satisfied when T is an instantiation of toy::math::fixed. More...

Concept definition

template<typename T>
Concept satisfied when T is an instantiation of toy::math::fixed.
Definition fixed.hpp:419
constexpr bool is_fixed_point_v
Helper variable template: true if T is toy::math::fixed, false otherwise.
Definition fixed.hpp:407

Detailed Description

Concept satisfied when T is an instantiation of toy::math::fixed.

Use to constrain template parameters to fixed-point types only (analogous to toy::math::floating_point for built-in floating-point types). Equivalent to is_fixed_point_v<T>.

See also
toy::math::fixed