TTS v4.1.0
The Tiny Test System
Loading...
Searching...
No Matches
tts::base_type< T > Struct Template Reference

Gives the base type of a type T. More...

Detailed Description

template<typename T>
struct tts::base_type< T >

Gives the base type of a type T.

The base type is T itself, and can be changed by a specialization of base_type for a user-defined type. tts::limits_set takes the limits and special values of T from its base type, and tts::random_bits, tts::as_integer, and tts::as_signed_integer take their integer width from it.

Helper types
Template Parameters
TType for which to extract the base type.