std::indirectly_writable - Man Page

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.

Info

Wed Sep 7 2022 libstdc++