]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/cstdint_include_test.cpp
1 // Copyright John Maddock 2009.
2 // Distributed under the Boost
3 // Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #define __STDC_CONSTANT_MACROS
7 #include <boost/cstdint.hpp> // must be the only #include!
11 boost::int8_t i8
= INT8_C(0);
13 boost::uint8_t ui8
= UINT8_C(0);
15 boost::int16_t i16
= INT16_C(0);
17 boost::uint16_t ui16
= UINT16_C(0);
19 boost::int32_t i32
= INT32_C(0);
21 boost::uint32_t ui32
= UINT32_C(0);
23 #ifndef BOOST_NO_INT64_T
24 boost::int64_t i64
= 0;
26 boost::uint64_t ui64
= 0;
29 boost::int_least8_t i8least
= INT8_C(0);
31 boost::uint_least8_t ui8least
= UINT8_C(0);
33 boost::int_least16_t i16least
= INT16_C(0);
35 boost::uint_least16_t ui16least
= UINT16_C(0);
37 boost::int_least32_t i32least
= INT32_C(0);
39 boost::uint_least32_t ui32least
= UINT32_C(0);
41 #ifndef BOOST_NO_INT64_T
42 boost::int_least64_t i64least
= 0;
44 boost::uint_least64_t ui64least
= 0;
47 boost::int_fast8_t i8fast
= INT8_C(0);
49 boost::uint_fast8_t ui8fast
= UINT8_C(0);
51 boost::int_fast16_t i16fast
= INT16_C(0);
53 boost::uint_fast16_t ui16fast
= UINT16_C(0);
55 boost::int_fast32_t i32fast
= INT32_C(0);
57 boost::uint_fast32_t ui32fast
= UINT32_C(0);
59 #ifndef BOOST_NO_INT64_T
60 boost::int_fast64_t i64fast
= 0;
62 boost::uint_fast64_t ui64fast
= 0;
65 boost::intmax_t im
= 0;
67 boost::uintmax_t uim
= 0;