std::indirectly_movable(3cxx)

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

✨ NAME ✨

std::indirectly_movable β€” it's the [alg.req.ind.move] concept, aka concept indirectly_movable πŸ’… this is the C++20 concepts page from libstdc++ (manual section 3cxx), bestie, and yes it's a whole vibe.


🌸 SYNOPSIS 🌸

First thing's first, you gotta pull in the header:

#include <iterator>

πŸŽ€ Concept definition πŸŽ€

okay so here's the actual definition, character for character, no notes:

template<typename _In, typename _Out>
concept std::indirectly_movable =  indirectly_readable<_In>
      && indirectly_writable<_Out, iter_rvalue_reference_t<_In>>

the way that _In has to be indirectly_readable and _Out has to be indirectly_writable of iter_rvalue_reference_t<_In>?? iconic. both conditions or it's not happening, periodt 🫢


πŸ’– Detailed Description πŸ’–

[alg.req.ind.move], concept indirectly_movable. that's it, that's the section, it's giving "the standard says what the standard says" 🌈


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. not a human, just a robot doing its little thing, and honestly? slay πŸ€–βœ¨


k bye bestie, go move some iterators πŸ’–πŸ¦‹ β€” this page is from the libstdc++ manual, std::indirectly_movable(3cxx), generated by Doxygen from the source code, and it doesn't come with a date stamp on it, so that's the whole sign-off fr fr 🌸

πŸ“¦ where this page comes from