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
3
#ifndef TETL_CONCEPTS_COPYABLE_HPP
4
#define TETL_CONCEPTS_COPYABLE_HPP
5
6
#include <
etl/_concepts/assignable_from.hpp
>
7
#include <
etl/_concepts/copy_constructible.hpp
>
8
#include <
etl/_concepts/movable.hpp
>
9
10
namespace
etl
{
11
13
template
<
typename
T>
14
concept
copyable
=
//
15
copy_constructible<T>
and
//
16
movable<T>
and
//
17
assignable_from<T&, T&>
and
//
18
assignable_from<T&, T const&>
and
//
19
assignable_from<T&, T const>
;
//
20
21
}
// namespace etl
22
23
#endif
// TETL_CONCEPTS_COPYABLE_HPP
assignable_from.hpp
etl::assignable_from
Definition
assignable_from.hpp:19
etl::copy_constructible
The concept copy_constructible is satisfied if T is an lvalue reference type, or if it is a move_cons...
Definition
copy_constructible.hpp:20
etl::copyable
Definition
copyable.hpp:14
etl::movable
Definition
movable.hpp:15
copy_constructible.hpp
movable.hpp
etl
Definition
adjacent_find.hpp:8
include
etl
_concepts
copyable.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0