std::experi...berFunction(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’… 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