tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_nothrow_swappable.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_TYPE_TRAITS_IS_NOTHROW_SWAPPABLE_HPP
4#define TETL_TYPE_TRAITS_IS_NOTHROW_SWAPPABLE_HPP
5
8
9namespace etl {
10
15template <typename T>
16struct is_nothrow_swappable : is_nothrow_swappable_with<add_lvalue_reference_t<T>, add_lvalue_reference_t<T>>::type { };
17
18template <typename T>
20
21} // namespace etl
22
23#endif // TETL_TYPE_TRAITS_IS_NOTHROW_SWAPPABLE_HPP
Definition adjacent_find.hpp:8
constexpr bool is_nothrow_swappable_v
Definition is_nothrow_swappable.hpp:19
Definition is_nothrow_swappable_with.hpp:21
If T is not a referenceable type (i.e., possibly cv-qualified void or a function type with a cv-quali...
Definition is_nothrow_swappable.hpp:16