std::invocable(3cxx)

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

πŸ’– 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 was std::invocable from the libstdc++ manual, section 3cxx β€” no date on this one, she's timeless 🫢 Go invoke something, you got this πŸ’–πŸŽ€πŸ¦‹