STD::_BIND_RESULT(3cxx)

πŸŽ€ NAME πŸŽ€

std::_Bind_result< _Result, _Signature > β€” bestie, this is the type of the function object you get back from bind<R>(). That's it. That's the whole vibe. πŸ’–

(and yes, we're in section 3cxx of the manual, the libstdc++ corner of the internet, welcome 🫢)


✨ SYNOPSIS ✨

template<typename _Result, typename _Signature>
    class std::_Bind_result< _Result, _Signature >

Detailed Description πŸ¦‹

okay so picture this: you call bind<R>(), right? And it hands you back a function object. This class? std::_Bind_result< _Result, _Signature >? That's literally the type of that thing. The blueprint. The origin story. ✨

And in case the synopsis wasn't loud enough, here's the declaration one more time so it really sinks in:

template<typename _Result, typename _Signature>
    class std::_Bind_result< _Result, _Signature >

and its whole entire job description, no cap:

Type of the function object returned from bind<R>().

That's the tea. _Result and _Signature are the template parameters, bind<R>() is the thing doing the returning, and this class is the glow-up that comes out the other side. πŸ’…


πŸ‘‘ Author πŸ‘‘

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

Not a human author, bestie β€” it's a machine. Doxygen did the writing, libstdc++ provided the source code, and honestly? slay, robot. πŸ€–πŸ’–


and that's the whole page, fr fr 🌸 no extra lore, no hidden chapters, just a very specific little class living its truth in the libstdc++ docs.

signing off from libstdc++, section 3cxx of the manual πŸ’œ this was generated straight from the source code, so you know it's fresh πŸŽ€ bye bestie, go bind something iconic ✨