tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
copyable.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_COPYABLE_HPP
5
#
define
TETL_CONCEPTS_COPYABLE_HPP
6
7
#
include
<
etl
/
_concepts
/
assignable_from
.
hpp
>
8
#
include
<
etl
/
_concepts
/
copy_constructible
.
hpp
>
9
#
include
<
etl
/
_concepts
/
movable
.
hpp
>
10
11
namespace
etl
{
12
13
/// \ingroup concepts
14
template
<
typename
T>
15
concept
copyable =
//
16
copy_constructible<T>
17
and
//
18
movable<T>
19
and
//
20
assignable_from<T&, T&>
21
and
//
22
assignable_from<T&, T
const
&>
23
and
//
24
assignable_from<T&, T
const
>;
//
25
26
}
// namespace etl
27
28
#
endif
// TETL_CONCEPTS_COPYABLE_HPP
etl
Definition
adjacent_find.hpp:9
include
etl
_concepts
copyable.hpp
Generated on Sun Sep 7 2025 19:14:53 for tetl by
1.9.8