Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
builtin_types.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_ARENE_BASE_COMPILER_SUPPORT_BUILTIN_TYPES_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_COMPILER_SUPPORT_BUILTIN_TYPES_HPP_
7
8#include "arene/base/stdlib_choice/cstddef.hpp"
9#include "arene/base/stdlib_choice/cstdint.hpp"
10
11namespace arene {
12namespace base {
13
14// parasoft-begin-suppress AUTOSAR-M17_0_2-a-2 "False positive: size_t not reserved in this context"
15// parasoft-begin-suppress CERT_CPP-DCL51-f-3 "False positive: size_t not reserved in this context"
16/// @brief The type of the size of an object
17using size_t = ::std::size_t;
18// parasoft-end-suppress AUTOSAR-M17_0_2-a-2
19// parasoft-end-suppress CERT_CPP-DCL51-f-3
20
21/// @brief The type of nullptr
23
24// parasoft-begin-suppress AUTOSAR-M17_0_2-a-2 "False positive: ptrdiff_t not reserved in this context"
25// parasoft-begin-suppress CERT_CPP-DCL51-f-3 "False positive: ptrdiff_t not reserved in this context"
26/// @brief The type of the difference between two pointers
28// parasoft-end-suppress AUTOSAR-M17_0_2-a-2
29// parasoft-end-suppress CERT_CPP-DCL51-f-3
30
31// parasoft-begin-suppress AUTOSAR-M17_0_2-a-2 "False positive: uintptr_t not reserved in this context"
32// parasoft-begin-suppress CERT_CPP-DCL51-f-3 "False positive: uintptr_t not reserved in this context"
33/// @brief An integer type big enough to hold a pointer
35// parasoft-end-suppress AUTOSAR-M17_0_2-a-2
36// parasoft-end-suppress CERT_CPP-DCL51-f-3
37
38/// @brief A POD type with the maximum alignment constraint
40
41} // namespace base
42} // namespace arene
43
44#endif // INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_COMPILER_SUPPORT_BUILTIN_TYPES_HPP_
Definition array_exceptions_disabled.cpp:11
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10