Scroll to navigation

std::indirectly_writable(3cxx) std::indirectly_writable(3cxx)

NAME

std::indirectly_writable - Requirements for writing a value into an iterator's referenced object.

SYNOPSIS

#include <iterator>

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);
}

Detailed Description

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

Definition at line 541 of file iterator.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++