|
TTS v4.1.0
The Tiny Test System
|
Make a type usable in a range check. More...
Make a type usable in a range check.
A range check stores its data as scalars, and a specialization maps a type to them: element_type is the scalar, size the number of scalars per value, load and store the conversions between a value and size consecutive scalars. The primary template covers a scalar type, with size equal to one. A specialization also keeps whole a result that follows the protocol of structured bindings, which the primary template splits into its members.
| T | Type to adapt |