4#ifndef TETL_TYPE_TRAITS_IS_SWAPPABLE_WITH_HPP
5#define TETL_TYPE_TRAITS_IS_SWAPPABLE_WITH_HPP
7#include <etl/_cstddef/size_t.hpp>
8#include <etl/_type_traits/add_lvalue_reference.hpp>
9#include <etl/_type_traits/bool_constant.hpp>
10#include <etl/_type_traits/conjunction.hpp>
11#include <etl/_type_traits/declval.hpp>
12#include <etl/_type_traits/is_move_assignable.hpp>
13#include <etl/_type_traits/is_move_constructible.hpp>
14#include <etl/_type_traits/is_nothrow_move_assignable.hpp>
15#include <etl/_type_traits/is_nothrow_move_constructible.hpp>
16#include <etl/_type_traits/void_t.hpp>
27 requires(
etl::is_move_constructible_v<T> &&
etl::is_move_assignable_v<T>)
31template <
typename T,
etl::size_t N>
36template <
typename T,
typename U,
typename =
void>
40template <
typename T,
typename U>
45template <
typename T,
typename U>
48template <
typename T,
typename U>
Definition adjacent_find.hpp:9
constexpr auto swap(T &a, T &b) noexcept -> void
Exchanges the given values. Swaps the values a and b. This overload does not participate in overload ...
Definition swap.hpp:26
constexpr bool is_swappable_with_v
Definition is_swappable_with.hpp:49
constexpr auto swap(T(&a)[N], T(&b)[N]) noexcept(etl::is_nothrow_swappable< T >::value) -> void
Definition swap.hpp:35
Definition is_swappable_with.hpp:37
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:17
Definition is_swappable_with.hpp:46
If T is not a referenceable type (i.e., possibly cv-qualified void or a function type with a cv-quali...
Definition is_swappable.hpp:17