mirror of
https://github.com/boostorg/integer.git
synced 2025-07-03 15:56:35 +02:00
63 lines
1.7 KiB
C++
63 lines
1.7 KiB
C++
![]() |
// boost cstdint.hpp header file -------------------------------------------//
|
||
|
|
||
|
// (C) Copyright boost.org 1999. Permission to copy, use, modify, sell
|
||
|
// and distribute this software is granted provided this copyright
|
||
|
// notice appears in all copies. This software is provided "as is" without
|
||
|
// express or implied warranty, and with no claim as to its suitability for
|
||
|
// any purpose.
|
||
|
|
||
|
// See http://www.boost.org for most recent version including documentation.
|
||
|
|
||
|
// Revision History
|
||
|
// 29 Jun 00 Reimplement to avoid including stdint.h within namespace boost
|
||
|
// 8 Aug 99 Initial version
|
||
|
|
||
|
#ifndef BOOST_CSTDINT_HPP
|
||
|
#define BOOST_CSTDINT_HPP
|
||
|
|
||
|
#include <limits.h> // implementation artifact; not part of interface
|
||
|
|
||
|
#include <boost/stdint.h>
|
||
|
|
||
|
namespace boost
|
||
|
{
|
||
|
|
||
|
using ::int8_t;
|
||
|
using ::int_least8_t;
|
||
|
using ::int_fast8_t;
|
||
|
using ::uint8_t;
|
||
|
using ::uint_least8_t;
|
||
|
using ::uint_fast8_t;
|
||
|
|
||
|
using ::int16_t;
|
||
|
using ::int_least16_t;
|
||
|
using ::int_fast16_t;
|
||
|
using ::uint16_t;
|
||
|
using ::uint_least16_t;
|
||
|
using ::uint_fast16_t;
|
||
|
|
||
|
using ::int32_t;
|
||
|
using ::int_least32_t;
|
||
|
using ::int_fast32_t;
|
||
|
using ::uint32_t;
|
||
|
using ::uint_least32_t;
|
||
|
using ::uint_fast32_t;
|
||
|
|
||
|
# ifdef ULLONG_MAX
|
||
|
|
||
|
using ::int64_t;
|
||
|
using ::int_least64_t;
|
||
|
using ::int_fast64_t;
|
||
|
using ::uint64_t;
|
||
|
using ::uint_least64_t;
|
||
|
using ::uint_fast64_t;
|
||
|
|
||
|
# endif
|
||
|
|
||
|
using ::intmax_t;
|
||
|
using ::uintmax_t;
|
||
|
|
||
|
} // namespace boost
|
||
|
|
||
|
#endif
|
||
|
|