Namespaces
Variants
Views
Actions

std::indirectly_movable

From cppreference.com
< cpp‎ | iterator
 
 
Iterator library
Iterator concepts
Iterator primitives
Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
indirectly_movable
(C++20)
(C++20)
(C++20)
(C++20)
Utilities
(C++20)
Iterator adaptors
Range access
(C++11)(C++14)
(C++14)(C++14)  
(C++11)(C++14)
(C++14)(C++14)  
(C++17)(C++20)
(C++17)
(C++17)
 
Defined in header <iterator>
template< class In, class Out >

concept indirectly_movable =
    std::indirectly_readable<In> &&

    std::indirectly_writable<Out, std::iter_rvalue_reference_t<In>>;
(since C++20)

The indirectly_movable 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 move the object that the indirectly_readable type references.

[edit] See also

specifies that values may be moved from an indirectly_readable type to an indirectly_writable type and that the move may be performed via an intermediate object
(concept) [edit]
specifies that values may be copied from an indirectly_readable type to an indirectly_writable type
(concept) [edit]