std::indirectly_copyable(3) | C++ Standard Libary | std::indirectly_copyable(3) |
NAME¶
std::indirectly_copyable - std::indirectly_copyable
Synopsis¶
Defined in header <iterator>
template< class In, class Out >
concept indirectly_copyable = (since C++20)
std::indirectly_readable<In> &&
std::indirectly_writable<Out, std::iter_reference_t<In>>;
The indirectly_copyable concept specifies the relationship between an
indirectly_readable type and a type that is indirectly_writable. The
indirectly_writable type must be able to directly copy the object that the
indirectly_readable type references.
See also¶
indirectly_movable specifies that values may be moved from an
(C++20) indirectly_readable type to an indirectly_writable type
(concept)
specifies that values may be copied from an
indirectly_copyable_storable indirectly_readable type to an
indirectly_writable type
(C++20) and that the copy may be performed via an intermediate
object
(concept)
2024.06.10 | http://cppreference.com |