tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
max_align_t.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
// SPDX-FileCopyrightText: Copyright (C) 2020 Tobias Hienzsch
3
4
#
ifndef
TETL_CSTDDEF_MAX_ALIGN_T_HPP
5
#
define
TETL_CSTDDEF_MAX_ALIGN_T_HPP
6
7
#
include
<
etl
/
_config
/
all
.
hpp
>
8
9
namespace
etl
{
10
11
#
if
defined
(
TETL_COMPILER_MSVC
)
12
#
pragma
warning
(
disable
:
4324
)
// Padding was added at the end of a structure
13
#
endif
14
15
/// \brief etl::max_align_t is a trivial standard-layout type whose alignment
16
/// requirement is at least as strict (as large) as that of every scalar type.
17
///
18
/// https://en.cppreference.com/w/cpp/types/max_align_t
19
struct
alignas
(
long
double
)
max_align_t
{ };
20
21
#
if
defined
(
TETL_COMPILER_MSVC
)
22
#
pragma
warning
(
default
:
4324
)
// Padding was added at the end of a structure
23
#
endif
24
25
}
// namespace etl
26
27
#
endif
// TETL_CSTDDEF_MAX_ALIGN_T_HPP
etl
Definition
adjacent_find.hpp:9
etl::max_align_t
etl::max_align_t is a trivial standard-layout type whose alignment requirement is at least as strict ...
Definition
max_align_t.hpp:19
include
etl
_cstddef
max_align_t.hpp
Generated on Sun Sep 7 2025 19:14:53 for tetl by
1.9.8