2015-06-08 01:55:08 +02:00
|
|
|
/* Core type aliases for OctaSTD.
|
2015-04-13 23:25:31 +02:00
|
|
|
*
|
|
|
|
* This file is part of OctaSTD. See COPYING.md for futher information.
|
|
|
|
*/
|
|
|
|
|
2015-07-13 21:08:55 +02:00
|
|
|
#ifndef OSTD_TYPES_HH
|
|
|
|
#define OSTD_TYPES_HH
|
2015-04-13 23:25:31 +02:00
|
|
|
|
|
|
|
#include <stdint.h>
|
2017-01-30 19:19:09 +01:00
|
|
|
#include <cstddef>
|
2015-04-13 23:25:31 +02:00
|
|
|
|
2015-07-13 21:07:14 +02:00
|
|
|
namespace ostd {
|
2015-04-13 23:25:31 +02:00
|
|
|
|
2015-06-08 21:45:49 +02:00
|
|
|
/* "builtin" types */
|
|
|
|
|
2015-07-01 00:07:28 +02:00
|
|
|
using sbyte = signed char;
|
|
|
|
using byte = unsigned char;
|
2015-06-08 01:55:08 +02:00
|
|
|
using ushort = unsigned short;
|
|
|
|
using uint = unsigned int;
|
|
|
|
using ulong = unsigned long;
|
|
|
|
using ullong = unsigned long long;
|
|
|
|
using llong = long long;
|
2015-04-14 02:12:00 +02:00
|
|
|
|
2015-06-08 01:55:08 +02:00
|
|
|
using ldouble = long double;
|
2015-06-04 00:01:23 +02:00
|
|
|
|
2016-01-19 20:14:02 +01:00
|
|
|
/* used occasionally for template variables */
|
|
|
|
|
|
|
|
namespace detail {
|
2017-02-16 20:39:05 +01:00
|
|
|
template<typename> struct undef_t;
|
2016-01-19 20:14:02 +01:00
|
|
|
}
|
|
|
|
|
2015-06-08 21:45:49 +02:00
|
|
|
}
|
2015-04-24 19:51:35 +02:00
|
|
|
|
2016-02-07 22:17:15 +01:00
|
|
|
#endif
|