tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
movable.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
3
#ifndef TETL_CONCEPTS_MOVABLE_HPP
4
#define TETL_CONCEPTS_MOVABLE_HPP
5
6
#include <
etl/_concepts/assignable_from.hpp
>
7
#include <
etl/_concepts/move_constructible.hpp
>
8
#include <
etl/_concepts/swappable.hpp
>
9
#include <
etl/_type_traits/is_object.hpp
>
10
11
namespace
etl
{
12
14
template
<
typename
T>
15
concept
movable
=
is_object_v<T>
and
move_constructible<T>
and
assignable_from<T&, T>
and
swappable<T>
;
16
17
}
// namespace etl
18
19
#endif
// TETL_CONCEPTS_MOVABLE_HPP
assignable_from.hpp
etl::assignable_from
Definition
assignable_from.hpp:19
etl::movable
Definition
movable.hpp:15
etl::move_constructible
The concept move_constructible is satisfied if T is a reference type, or if it is an object type wher...
Definition
move_constructible.hpp:20
etl::swappable
Definition
swappable.hpp:13
is_object.hpp
move_constructible.hpp
etl
Definition
adjacent_find.hpp:8
etl::is_object_v
constexpr bool is_object_v
Definition
is_object.hpp:35
swappable.hpp
include
etl
_concepts
movable.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0