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
// SPDX-FileCopyrightText: Copyright (C) 2023 Tobias Hienzsch
3
4
#
ifndef
TETL_CONCEPTS_MOVABLE_HPP
5
#
define
TETL_CONCEPTS_MOVABLE_HPP
6
7
#
include
<
etl
/
_concepts
/
assignable_from
.
hpp
>
8
#
include
<
etl
/
_concepts
/
move_constructible
.
hpp
>
9
#
include
<
etl
/
_concepts
/
swappable
.
hpp
>
10
#
include
<
etl
/
_type_traits
/
is_object
.
hpp
>
11
12
namespace
etl
{
13
14
/// \ingroup concepts
15
template
<
typename
T>
16
concept
movable = is_object_v<T>
and
move_constructible<T>
and
assignable_from<T&, T>
and
swappable<T>;
17
18
}
// namespace etl
19
20
#
endif
// TETL_CONCEPTS_MOVABLE_HPP
etl
Definition
adjacent_find.hpp:9
include
etl
_concepts
movable.hpp
Generated on Sun Sep 7 2025 19:14:53 for tetl by
1.9.8