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
11
namespace
arene
{
12
namespace
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
17
using
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
22
using
nullptr_t
= ::
std
::
nullptr_t
;
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
27
using
ptrdiff_t
= ::
std
::
ptrdiff_t
;
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
34
using
uintptr_t
= ::
std
::
uintptr_t
;
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
39
using
max_align_t
= ::
std
::
max_align_t
;
40
41
}
// namespace base
42
}
// namespace arene
43
44
#
endif
// INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_COMPILER_SUPPORT_BUILTIN_TYPES_HPP_
arene::base
Definition
array_exceptions_disabled.cpp:11
arene
Copyright 2026, Toyota Motor Corporation.
Definition
array_exceptions_disabled.cpp:10
arene
base
compiler_support
builtin_types.hpp
Generated by
1.13.2