std::indirectly_copyable(3cxx)

πŸ“¦
version 16-20260322 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– std::indirectly_copyable πŸ’–

okay bestie, welcome to the manual page for std::indirectly_copyable, which lives in section 3cxx of your friendly neighbourhood libstdc++ docs πŸŽ€ yes it's a C++ concept, yes it's adorable, let's GO.


✨ NAME ✨

std::indirectly_copyable β€” the [alg.req.ind.copy] concept indirectly_copyable πŸ¦‹


🌸 SYNOPSIS 🌸

#include <iterator>

🧚 Concept definition

template<typename _In, typename _Out>
concept std::indirectly_copyable =  indirectly_readable<_In>
      && indirectly_writable<_Out, iter_reference_t<_In>>
not me dropping a two-line concept definition and calling it a personality πŸ’… this is literally the whole thing.

πŸ‘‘ Detailed Description πŸ‘‘

[alg.req.ind.copy], concept indirectly_copyable ✨

that's it. that's the description. the standard said "concept indirectly_copyable" and dipped πŸ™ˆ but like, lowkey that's all it needs to be β€” the definition above is doing all the heavy lifting and it's serving.


🫢 Author 🫢

Generated automatically by Doxygen for libstdc++ from the source code. πŸ€–βœ¨ (so no, a human did not hand-write this one β€” the robot ate and left no crumbs)


fr fr that's the whole page, no cap. shoutout to libstdc++ for hosting this icon, and to Doxygen for auto-generating it straight from the source code β€” see you in the next manpage bestie, mwah πŸ’–πŸ’…πŸŒΈ

πŸ“¦ where this page comes from