std::experi...berFunction(3)
π NAME π
std::experimental::reflect::MemberFunction β bestie, it's literally the same thing twice, the concept and the concept, std::experimental::reflect::MemberFunction, that's the name, that's the vibe, periodt β¨
Oh and hey β this whole page lives in the C++ Standard Libary manual (yes, that's how the header spells it, we don't fix, we don't touch, we just vibe π«Ά). Section heading up top says std::experi...berFunction(3) because the terminal was too short to hold the whole name and honestly? relatable.
β¨ Synopsis β¨
Okay so first things first, where does this little icon live? π
Defined in header <experimental/reflect>
Then the actual star of the show, in all its templated glory:
template< class T >
concept MemberFunction = RecordMember<T> && Function<T> && /* see below */;
The MemberFunction concept is satisfied if and only if T reflects a member function β and no cap, that means constructors and destructors are excluded π they don't get to sit with us, they're not member functions for this purpose, so don't come for her π
That /* see below */ is doing a lot of heavy lifting, iykyk β the page says the answer's below, and honestly we respect the suspense π
πΈ Example πΈ
This section is incomplete π
Reason: examples
Not me showing up to the function party with zero examples π« she's a work in progress, your honor, and we still support her π₯
π¦ See also π¦
This section is incomplete π
Reason: templatization
Yeah, same energy β no cross-references yet, the templatization era hasn't dropped its mixtape π
π Category: π
*Todo with reason
That's it, that's the whole category list, one single star bullet doing main character energy all by itself β
And that's a wrap, bestie! π This little gem is served up courtesy of http://cppreference.com, version 2024.06.10, dated 2024.06.10 β same number twice because she's consistent, she's iconic, and she's out here living her best "incomplete" life ππ Go forth and reflect some member functions (but not constructors, and not destructors β you know the rule) π§β¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms