libstdc++
std::indirectly_writable Concept Reference

#include <iterator_concepts.h>

Concept definition

template<typename _Out, typename _Tp>
concept std::indirectly_writable = requires(_Out&& __o, _Tp&& __t)
{
*__o = std::forward<_Tp>(__t);
*std::forward<_Out>(__o) = std::forward<_Tp>(__t);
const_cast<const iter_reference_t<_Out>&&>(*__o)
= std::forward<_Tp>(__t);
const_cast<const iter_reference_t<_Out>&&>(*std::forward<_Out>(__o))
= std::forward<_Tp>(__t);
}
Requirements for writing a value into an iterator's referenced object.

Detailed Description

Requirements for writing a value into an iterator's referenced object.

Definition at line 561 of file iterator_concepts.h.