std::experi...t::Operator(3)

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

πŸ’… NAME πŸ’…

std::experimental::reflect::Operator β€” ok bestie, say it with me: std::experimental::reflect::Operator. That's literally the whole name, that's the vibe πŸ’–

(also hiii, this is the std::experi...t::Operator(3) page from the C++ Standard Library β€” the title got squished but she's still iconic πŸŽ€)


✨ Synopsis ✨

So this little cutie is Defined in header <experimental/reflect> πŸ¦‹

template< class T >                                 (reflection TS)
concept Operator = Function<T> && /* see below */;

Lowkey the important tea β˜•: the Operator concept is satisfied if and only if T reflects an operator function or a conversion function πŸ‘‘

πŸ“ Note: Some types that satisfy Operator also satisfy MemberFunction or SpecialMemberFunction β€” so like, no gatekeeping, she can be in multiple clubs πŸ’…βœ¨

πŸŽ€ Example πŸŽ€

This section is incomplete 😭

Reason: examples

(it's giving "I'll finish my homework later" energy πŸ™ˆ β€” that's all the page says, don't come for me)


🌸 See also 🌸

This section is incomplete too 😭😭

Reason: templatization


πŸ’œ Category: πŸ’œ

  • Todo with reason

ok that's the whole page, you're caught up, no cap 🫢

Source & version vibes: http://cppreference.com, dated 2024.06.10 β€” shoutout to the cppreference girlies for keeping the docs cute πŸ’–

πŸ“¦ where this page comes from