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

Concept satisfied when T is an endpoint type allowed as toy::geometry::Section template parameter. More...

Concept definition

template<typename T>
concept SectionEndpoint = math::signed_integral<T> || math::floating_point<T> || math::fixed_point<T>
Concept satisfied when T is an endpoint type allowed as toy::geometry::Section template parameter.
Definition section.hpp:51
Concept satisfied when T is an instantiation of toy::math::fixed.
Definition fixed.hpp:419

Detailed Description

Concept satisfied when T is an endpoint type allowed as toy::geometry::Section template parameter.

Use to constrain the endpoint type of toy::geometry::Section to signed integral, floating-point, or fixed-point types only.

Requirements

A type T satisfies SectionEndpoint if and only if at least one of the following holds:

  • T satisfies toy::math::signed_integral.
  • T satisfies toy::math::floating_point.
  • T satisfies toy::math::fixed_point.
See also
toy::geometry::Section