carl  24.04
Computer ARithmetic Library
typetraits.h
Go to the documentation of this file.
1 /**
2  * @file adaption_native/typetraits.h
3  * @ingroup typetraits
4  * @author Gereon Kremer <gereon.kremer@cs.rwth-aachen.de>
5  */
6 
7 #pragma once
8 
9 #ifndef INCLUDED_FROM_NUMBERS_H
10 static_assert(false, "This file may only be included indirectly by numbers.h");
11 #endif
12 
13 #include "../typetraits.h"
14 
15 namespace carl {
16 
22 
24 TRAIT_TRUE(is_subset_of_integers_type, unsigned short int, );
26 TRAIT_TRUE(is_subset_of_integers_type, unsigned long int, );
27 TRAIT_TRUE(is_subset_of_integers_type, unsigned long long int, );
28 
29 
32 TRAIT_TYPE(IntegralType, long double, sint, );
33 
34 }
States if a type represents a subset of all integers.
Definition: typetraits.h:219
carl is the main namespace for the library.
std::int64_t sint
Definition: numbers.h:17
Gives the corresponding integral type.
Definition: typetraits.h:310
#define TRAIT_TRUE(name, type, groups)
Definition: typetraits.h:82
#define TRAIT_TYPE(name, _type, value, groups)
Definition: typetraits.h:90