std::invocable(3cxx)
π NAME π
std::invocable β it's giving [concept.invocable], bestie. Concept invocable. That's the whole vibe.
β¨ SYNOPSIS β¨
First things first, you gotta bring in the concepts header, no cap:
#include <concepts>
π Concept definition π
Okay so here's the actual definition, and yes it's literally two lines, she's lowkey effortless:
template<typename _Fn, typename... _Args>
concept std::invocable = is_invocable_v<_Fn, _Args...>
πΈ Detailed Description πΈ
[concept.invocable], concept invocable. That's it, that's the whole description. Iconic behavior honestly, she said "read the concept definition and mind your business" π
π¦ Author π¦
Generated automatically by Doxygen for libstdc++ from the source code. Not a human author, not a group chat, just Doxygen doing her little robot thing π€β¨
And that's the whole page, bestie! This wasstd::invocablefrom the libstdc++ manual, section3cxxβ no date on this one, she's timeless π«Ά Go invoke something, you got this πππ¦
π¦ where this page comes from
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- 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