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 β¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu resolute: libstdc++-11-doc 11.5.0-11ubuntu2
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu resolute: libstdc++-14-doc 14.3.0-14ubuntu1
- ubuntu resolute: libstdc++-15-doc 15.2.0-16ubuntu1
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- ubuntu stonking: libstdc++-11-doc 11.5.0-11ubuntu2
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- ubuntu stonking: libstdc++-14-doc 14.4.0-2ubuntu1
- ubuntu stonking: libstdc++-15-doc 15.3.0-4ubuntu1
- ubuntu stonking: libstdc++-16-doc 16.2.0-3ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms