tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_standard_layout.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_STANDARD_LAYOUT_HPP
4#define TETL_TYPE_TRAITS_IS_STANDARD_LAYOUT_HPP
5
6#include <etl/_config/all.hpp>
7
9
10namespace etl {
11
16template <typename T>
17struct is_standard_layout : bool_constant<__is_standard_layout(T)> { };
18
19template <typename T>
21
22} // namespace etl
23
24#endif // TETL_TYPE_TRAITS_IS_STANDARD_LAYOUT_HPP
Definition adjacent_find.hpp:8
constexpr bool is_standard_layout_v
Definition is_standard_layout.hpp:20
integral_constant< bool, B > bool_constant
Definition bool_constant.hpp:11
static constexpr bool value
Definition integral_constant.hpp:10
If T is a standard layout type (that is, a scalar type, a standard-layout class, or an array of such ...
Definition is_standard_layout.hpp:17