DxLibEx
stdint.hpp
Go to the documentation of this file.
1 /*=============================================================================
2  Copyright (C) 2015-2017 DxLibEx project
3  https://github.com/Nagarei/DxLibEx/
4 
5  Distributed under the Boost Software License, Version 1.0.
6  (See http://www.boost.org/LICENSE_1_0.txt)
7 =============================================================================*/
8 #ifndef DXLE_INC_BASIC_TYPES_STDINT_HPP_
9 #define DXLE_INC_BASIC_TYPES_STDINT_HPP_
10 
11 #include <cstdint>
12 
13 // N4296 17.6.1.2 Headers 4 p.449
14 // In the C ++ standard library, however, the declarations (except for names which are defined as macros in C)
15 // are within namespace scope (3.3.6) of the namespace std.
16 // It is unspecified whether these names are first declared
17 // within the global namespace scope and are then injected into namespace std
18 // by explicit using-declarations (7.3.3).
19 
20 namespace dxle {
21  using std::int8_t; using std::int16_t;
22  using std::int32_t; using std::int64_t;
23  using std::uint8_t; using std::uint16_t;
24  using std::uint32_t; using std::uint64_t;
25 
26  using std::int_least8_t; using std::int_least16_t;
27  using std::int_least32_t; using std::int_least64_t;
28  using std::uint_least8_t; using std::uint_least16_t;
29  using std::uint_least32_t; using std::uint_least64_t;
30 
31  using std::int_fast8_t; using std::int_fast16_t;
32  using std::int_fast32_t; using std::int_fast64_t;
33  using std::uint_fast8_t; using std::uint_fast16_t;
34  using std::uint_fast32_t; using std::uint_fast64_t;
35 
36  using std::intmax_t; using std::intptr_t;
37  using std::uintmax_t; using std::uintptr_t;
38 }
39 #endif //DXLE_INC_BASIC_TYPES_STDINT_HPP_
Definition: cast_if.hpp:12