Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
cstdint.hpp
Go to the documentation of this file.
1
// Copyright 2024, Toyota Motor Corporation
2
//
3
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5
#
ifndef
INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_CSTDINT_HPP_
6
#
define
INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_CSTDINT_HPP_
7
8
// parasoft-begin-suppress CERT_CPP-DCL58-a-2 "Part of a standard library implementation"
9
// parasoft-begin-suppress AUTOSAR-A17_6_1-a-2 "Part of a standard library implementation"
10
// parasoft-begin-suppress AUTOSAR-M17_0_2-a-2 "Part of a standard library implementation"
11
// parasoft-begin-suppress CERT_CPP-DCL51-f-3 "Part of a standard library implementation"
12
13
// IWYU pragma: private, include <cstdint>
14
// IWYU pragma: friend "stdlib_detail/.*"
15
16
// parasoft-begin-suppress AUTOSAR-A18_0_1-a-2 "False positive: This is the implementation of <cstdint>"
17
// parasoft-begin-suppress AUTOSAR-A1_1_1-d-2 "False positive: This is the implementation of <cstdint>"
18
// NOLINTNEXTLINE(hicpp-deprecated-headers)
19
#
include
<
stdint
.
h
>
20
// parasoft-end-suppress AUTOSAR-A1_1_1-d-2
21
// parasoft-end-suppress AUTOSAR-A18_0_1-a-2
22
23
namespace
std
{
24
25
// parasoft-begin-suppress AUTOSAR-A2_7_3-a "False positive: all declarations
26
// and typedefs *are* preceded by a comment with @brief"
27
28
// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
29
/// @brief An 8-bit unsigned integer type
30
using
uint8_t = ::uint8_t;
31
// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
32
33
// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
34
/// @brief A 16-bit unsigned integer type
35
// NOLINTNEXTLINE(google-runtime-int)
36
using
uint16_t = ::uint16_t;
37
// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
38
39
// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
40
/// @brief A 32-bit unsigned integer type
41
using
uint32_t = ::uint32_t;
42
// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
43
44
// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
45
/// @brief A 64-bit unsigned integer type
46
// NOLINTNEXTLINE(google-runtime-int,readability-magic-numbers)
47
using
uint64_t = ::uint64_t;
48
// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
49
50
/// @brief A maximum-width unsigned integer type
51
using
uintmax_t = ::uintmax_t;
52
53
// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
54
/// @brief An 8-bit signed integer type
55
using
int8_t = ::int8_t;
56
// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
57
58
// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
59
/// @brief A 16-bit signed integer type
60
// NOLINTNEXTLINE(google-runtime-int)
61
using
int16_t = ::int16_t;
62
// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
63
64
// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
65
/// @brief A 32-bit signed integer type
66
using
int32_t = ::int32_t;
67
// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
68
69
// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
70
/// @brief A 64-bit signed integer type
71
using
int64_t = ::int64_t;
72
// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
73
74
/// @brief A maximum-width signed integer type
75
using
intmax_t = ::intmax_t;
76
77
/// @brief A signed integer type the same size as a pointer
78
using
intptr_t = ::intptr_t;
79
80
/// @brief An unsigned integer type the same size as a pointer
81
using
uintptr_t = ::uintptr_t;
82
83
// parasoft-end-suppress AUTOSAR-A2_7_3-a
84
85
}
// namespace std
86
87
#
endif
// INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_CSTDINT_HPP_
std::hash<::arene::base::result< void, E > >::operator()
constexpr auto operator()(::arene::base::result< void, E > const &value) const noexcept(noexcept(hash< E >{}(std::declval< E const & >()))) -> std::size_t
Calculate the hash of a result.
Definition
result.hpp:1827
stdlib
include
stdlib_detail
cstdint.hpp
Generated by
1.13.2