Types.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_TYPES_H_
36 #define _BLAZE_UTIL_TYPES_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <cstddef>
44 #include <boost/cstdint.hpp>
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // TYPE DEFINITIONS
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
60 using std::size_t;
61 //*************************************************************************************************
62 
63 
64 //*************************************************************************************************
69 using std::ptrdiff_t;
70 //*************************************************************************************************
71 
72 
73 //*************************************************************************************************
78 using boost::int8_t;
79 //*************************************************************************************************
80 
81 
82 //*************************************************************************************************
87 using boost::uint8_t;
88 //*************************************************************************************************
89 
90 
91 //*************************************************************************************************
96 using boost::int16_t;
97 //*************************************************************************************************
98 
99 
100 //*************************************************************************************************
105 using boost::uint16_t;
106 //*************************************************************************************************
107 
108 
109 //*************************************************************************************************
114 using boost::int32_t;
115 //*************************************************************************************************
116 
117 
118 //*************************************************************************************************
123 using boost::uint32_t;
124 //*************************************************************************************************
125 
126 
127 //*************************************************************************************************
132 #ifndef BOOST_NO_INT64_T
133 using boost::int64_t;
134 #endif
135 //*************************************************************************************************
136 
137 
138 //*************************************************************************************************
143 #ifndef BOOST_NO_INT64_T
144 using boost::uint64_t;
145 #endif
146 //*************************************************************************************************
147 
148 
149 //*************************************************************************************************
153 #ifndef BOOST_NO_INT64_T
154 typedef int64_t large_t;
155 #else
156 typedef int32_t large_t;
157 #endif
158 //*************************************************************************************************
159 
160 
161 //*************************************************************************************************
165 #ifndef BOOST_NO_INT64_T
167 #else
168 typedef uint32_t ularge_t;
169 #endif
170 //*************************************************************************************************
171 
172 
173 //*************************************************************************************************
177 typedef ularge_t id_t;
178 //*************************************************************************************************
179 
180 } // namespace blaze
181 
182 #endif
uint64_t ularge_t
The largest available unsigned integer data type.
Definition: Types.h:166
int64_t large_t
The largest available signed integer data type.
Definition: Types.h:154
32-bit unsigned integer type of the Blaze library.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
ularge_t id_t
Unsigned integer data type for integral IDs.
Definition: Types.h:177
64-bit unsigned integer type of the Blaze library.
64-bit signed integer type of the Blaze library.
32-bit signed integer type of the Blaze library.