tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_trivially_assignable.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_TRIVIALLY_ASSIGNABLE_HPP
4#define TETL_TYPE_TRAITS_IS_TRIVIALLY_ASSIGNABLE_HPP
5
6#include <etl/_config/all.hpp>
7
9
10namespace etl {
11
16template <typename T, typename U>
17struct is_trivially_assignable : bool_constant<__is_trivially_assignable(T, U)> { };
18
19template <typename T, typename U>
21
22} // namespace etl
23
24#endif // TETL_TYPE_TRAITS_IS_TRIVIALLY_ASSIGNABLE_HPP
Definition adjacent_find.hpp:8
constexpr bool is_trivially_assignable_v
Definition is_trivially_assignable.hpp:20
integral_constant< bool, B > bool_constant
Definition bool_constant.hpp:11
static constexpr bool value
Definition integral_constant.hpp:10
If the expression etl::declval<T>() = etl::declval<U>() is well-formed in unevaluated context,...
Definition is_trivially_assignable.hpp:17