Standard library header  (C++11) 您所在的位置:网站首页 uint32_max Standard library header  (C++11)

Standard library header  (C++11)

2024-02-03 02:51| 来源: 网络整理| 查看: 265

 C++ Compiler support Freestanding and hosted Language Standard library Standard library headers Named requirements Feature test macros (C++20) Language support library Concepts library (C++20) Metaprogramming library (C++11) Diagnostics library General utilities library Strings library Containers library Iterators library Ranges library (C++20) Algorithms library Numerics library Localizations library Input/output library Filesystem library (C++17) Regular expressions library (C++11) Concurrency support library (C++11) Technical specifications Symbols index External libraries [edit] Standard library headers Language support (C++20) (C++11) (C++23) (C++20) (C++11) (C++20) (C++20) Concepts (C++20) Diagnostics (C++23) (C++11) Memory management (C++17)   (C++11) Metaprogramming (C++11) (C++11) General utilities (C++11) (C++17) (C++17) (C++17) (C++26) (C++23) (C++11) (C++17) (C++17) (C++20) (C++20) Strings (C++17) (C++11) Containers (C++11) (C++11) (C++11) (C++11) (C++23) (C++23) (C++20) (C++23) Iterators Ranges (C++20) (C++23) Algorithms Numerics (C++11) (C++11) (C++26) (C++20) Time (C++11) Localization (C++11/17/26*) (C++26) Input/output (C++23) (C++23) (C++20) (C++17) (C++11) (C++98*) Regular expressions (C++11) Concurrency support (C++20) (C++11) (C++11) (C++26) (C++23) (C++11) (C++14) (C++11)   (C++20) (C++20) (C++20) (C++11) (C++26) C compatibility (C++11/17/20*)   (C++11/17/20*) (C++11/17/20*) (C++11/17/20*) (until C++20) [edit] 

This header was originally in the C standard library as .

This header is part of the type support library, providing fixed width integer types and part of C numeric limits interface.

Contents 1 Types 2 Macros 2.1 Signed integers : minimum value 2.2 Signed integers : maximum value 2.3 Unsigned integers : maximum value 2.4 Limits of other integer types 2.5 Function macros for integer constants 3 Synopsis Types int8_tint16_tint32_tint64_t(optional) signed integer type with width of exactly 8, 16, 32 and 64 bits respectivelywith no padding bits and using 2's complement for negative values(provided if and only if the implementation directly supports the type) (typedef) [edit] int_fast8_tint_fast16_tint_fast32_tint_fast64_t fastest signed integer type with width of at least 8, 16, 32 and 64 bits respectively (typedef) [edit] int_least8_tint_least16_tint_least32_tint_least64_t smallest signed integer type with width of at least 8, 16, 32 and 64 bits respectively (typedef) [edit] intmax_t maximum-width signed integer type (typedef) [edit] intptr_t(optional) signed integer type capable of holding a pointer to void (typedef) [edit] uint8_tuint16_tuint32_tuint64_t(optional) unsigned integer type with width of exactly 8, 16, 32 and 64 bits respectively (provided if and only if the implementation directly supports the type) (typedef) [edit] uint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_t fastest unsigned integer type with width of at least 8, 16, 32 and 64 bits respectively (typedef) [edit] uint_least8_tuint_least16_tuint_least32_tuint_least64_t smallest unsigned integer type with width of at least 8, 16, 32 and 64 bits respectively (typedef) [edit] uintmax_t maximum-width unsigned integer type (typedef) [edit] uintptr_t(optional) unsigned integer type capable of holding a pointer to void (typedef) [edit] Macros Signed integers : minimum value INT8_MININT16_MININT32_MININT64_MIN(optional) minimum value of std::int8_t, std::int16_t, std::int32_t and std::int64_t respectively (macro constant) [edit] INT_FAST8_MININT_FAST16_MININT_FAST32_MININT_FAST64_MIN minimum value of std::int_fast8_t, std::int_fast16_t, std::int_fast32_t and std::int_fast64_t respectively (macro constant) [edit] INT_LEAST8_MININT_LEAST16_MININT_LEAST32_MININT_LEAST64_MIN minimum value of std::int_least8_t, std::int_least16_t, std::int_least32_t and std::int_least64_t respectively (macro constant) [edit] INTPTR_MIN(optional) minimum value of std::intptr_t (macro constant) [edit] INTMAX_MIN minimum value of std::intmax_t (macro constant) [edit] Signed integers : maximum value INT8_MAXINT16_MAXINT32_MAXINT64_MAX(optional) maximum value of std::int8_t, std::int16_t, std::int32_t and std::int64_t respectively (macro constant) [edit] INT_FAST8_MAXINT_FAST16_MAXINT_FAST32_MAXINT_FAST64_MAX maximum value of std::int_fast8_t, std::int_fast16_t, std::int_fast32_t and std::int_fast64_t respectively (macro constant) [edit] INT_LEAST8_MAXINT_LEAST16_MAXINT_LEAST32_MAXINT_LEAST64_MAX maximum value of std::int_least8_t, std::int_least16_t, std::int_least32_t and std::int_least64_t respectively (macro constant) [edit] INTPTR_MAX(optional) maximum value of std::intptr_t (macro constant) [edit] INTMAX_MAX maximum value of std::intmax_t (macro constant) [edit] Unsigned integers : maximum value UINT8_MAXUINT16_MAXUINT32_MAXUINT64_MAX(optional) maximum value of std::uint8_t, std::uint16_t, std::uint32_t and std::uint64_t respectively (macro constant) [edit] UINT_FAST8_MAXUINT_FAST16_MAXUINT_FAST32_MAXUINT_FAST64_MAX maximum value of std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t and std::uint_fast64_t respectively (macro constant) [edit] UINT_LEAST8_MAXUINT_LEAST16_MAXUINT_LEAST32_MAXUINT_LEAST64_MAX maximum value of std::uint_least8_t, std::uint_least16_t, std::uint_least32_t and std::uint_least64_t respectively (macro constant) [edit] UINTPTR_MAX(optional) maximum value of std::uintptr_t (macro constant) [edit] UINTMAX_MAX maximum value of std::uintmax_t (macro constant) [edit] Limits of other integer types PTRDIFF_MIN(C++11) minimum value of std::ptrdiff_t (macro constant) [edit] PTRDIFF_MAX(C++11) maximum value of std::ptrdiff_t (macro constant) [edit] SIZE_MAX(C++11) maximum value of std::size_t (macro constant) [edit] SIG_ATOMIC_MIN(C++11) minimum value of std::sig_atomic_t (macro constant) [edit] SIG_ATOMIC_MAX(C++11) maximum value of std::sig_atomic_t (macro constant) [edit] WCHAR_MIN(C++11) minimum value of wchar_t (macro constant) [edit] WCHAR_MAX(C++11) maximum value of wchar_t (macro constant) [edit] WINT_MIN(C++11) minimum value of std::wint_t (macro constant) [edit] WINT_MAX(C++11) maximum value of std::wint_t (macro constant) [edit] Function macros for integer constants INT8_CINT16_CINT32_CINT64_C expands to an integer constant expression having the value specified by its argument and whose type is the promoted type of std::int_least8_t, std::int_least16_t, std::int_least32_t and std::int_least64_t respectively (function macro) [edit] INTMAX_C expands to an integer constant expression having the value specified by its argument and the type std::intmax_t (function macro) [edit] UINT8_CUINT16_CUINT32_CUINT64_C expands to an integer constant expression having the value specified by its argument and whose type is the promoted type of std::uint_least8_t, std::uint_least16_t, std::uint_least32_t and std::uint_least64_t respectively (function macro) [edit] UINTMAX_C expands to an integer constant expression having the value specified by its argument and the type std::uintmax_t (function macro) [edit] [edit] Synopsis namespace std { using int8_t = /* signed integer type */; // optional using int16_t = /* signed integer type */; // optional using int32_t = /* signed integer type */; // optional using int64_t = /* signed integer type */; // optional using intN_t = /* see description */; // optional, see description   using int_fast8_t = /* signed integer type */; using int_fast16_t = /* signed integer type */; using int_fast32_t = /* signed integer type */; using int_fast64_t = /* signed integer type */; using int_fastN_t = /* see description */; // optional, see description   using int_least8_t = /* signed integer type */; using int_least16_t = /* signed integer type */; using int_least32_t = /* signed integer type */; using int_least64_t = /* signed integer type */; using int_leastN_t = /* see description */; // optional, see description   using intmax_t = /* signed integer type */; using intptr_t = /* signed integer type */; // optional   using uint8_t = /* unsigned integer type */; // optional using uint16_t = /* unsigned integer type */; // optional using uint32_t = /* unsigned integer type */; // optional using uint64_t = /* unsigned integer type */; // optional using uintN_t = /* see description */; // optional, see description   using uint_fast8_t = /* unsigned integer type */; using uint_fast16_t = /* unsigned integer type */; using uint_fast32_t = /* unsigned integer type */; using uint_fast64_t = /* unsigned integer type */; using uint_fastN_t = /* see description */; // optional, see description   using uint_least8_t = /* unsigned integer type */; using uint_least16_t = /* unsigned integer type */; using uint_least32_t = /* unsigned integer type */; using uint_least64_t = /* unsigned integer type */; using uint_leastN_t = /* see description */; // optional, see description   using uintmax_t = /* unsigned integer type */; using uintptr_t = /* unsigned integer type */; // optional }   #define INTN_MIN /* see description */ #define INTN_MAX /* see description */ #define UINTN_MAX /* see description */   #define INT_FASTN_MIN /* see description */ #define INT_FASTN_MAX /* see description */ #define UINT_FASTN_MAX /* see description */   #define INT_LEASTN_MIN /* see description */ #define INT_LEASTN_MAX /* see description */ #define UINT_LEASTN_MAX /* see description */   #define INTMAX_MIN /* see description */ #define INTMAX_MAX /* see description */ #define UINTMAX_MAX /* see description */   #define INTPTR_MIN /* see description */ // optional #define INTPTR_MAX /* see description */ // optional #define UINTPTR_MAX /* see description */ // optional   #define PTRDIFF_MIN /* see description */ #define PTRDIFF_MAX /* see description */ #define SIZE_MAX /* see description */   #define SIG_ATOMIC_MIN /* see description */ #define SIG_ATOMIC_MAX /* see description */   #define WCHAR_MIN /* see description */ #define WCHAR_MAX /* see description */   #define WINT_MIN /* see description */ #define WINT_MAX /* see description */   #define INTN_C(value) /* see description */ #define UINTN_C(value) /* see description */ #define INTMAX_C(value) /* see description */ #define UINTMAX_C(value) /* see description */


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有