std::experi...t::Constant(3)
π 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
- 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