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

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

πŸ’– std::experi...t::Constant(3) πŸ’–

okay bestie, we're in the C++ Standard Libary manual (yes, that's the manual name, no cap) and this page is all about std::experi...t::Constant. It's giving niche reflection TS realness and I'm lowkey obsessed. 🫢


🌸 NAME 🌸

std::experimental::reflect::Constant β€” std::experimental::reflect::Constant


✨ Synopsis ✨

          Defined in header <experimental/reflect>
          template< class T >
       (reflection TS)
          concept Constant = ScopeMember<T> && Typed<T> && /* see below */;

Here's the vibe check: the Constant concept is satisfied if and only if T reflects a constant expression. periodt. πŸ’…


πŸŽ€ Example πŸŽ€

This section is incomplete Reason: examples

no examples dropped here, bestie β€” that's literally what the page says 😭


πŸ¦‹ See also πŸ¦‹

This section is incomplete Reason: templatization

🌈 Category 🌈

  • Todo with reason

mwah πŸ’‹ this cutie came from source http://cppreference.com, version/date 2024.06.10.

πŸ“¦ where this page comes from