tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_trivially_constructible.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_TRIVIALLY_CONSTRUCTIBLE_HPP
4#define TETL_TYPE_TRAITS_IS_TRIVIALLY_CONSTRUCTIBLE_HPP
5
6#include <etl/_config/all.hpp>
7
9
10namespace etl {
11
15template <typename T, typename... Args>
16struct is_trivially_constructible : bool_constant<__is_trivially_constructible(T)> { };
17
18template <typename T, typename... Args>
19inline constexpr bool is_trivially_constructible_v = is_trivially_constructible<T, Args...>::value;
20
21} // namespace etl
22
23#endif // TETL_TYPE_TRAITS_IS_TRIVIALLY_CONSTRUCTIBLE_HPP
Definition adjacent_find.hpp:8
constexpr bool is_trivially_constructible_v
Definition is_trivially_constructible.hpp:19
integral_constant< bool, B > bool_constant
Definition bool_constant.hpp:11
The variable definition does not call any operation that is not trivial. For the purposes of this che...
Definition is_trivially_constructible.hpp:16