r/cpp • u/friedkeenan • Mar 08 '26
Exploring Mutable Consteval State in C++26
https://friedkeenan.github.io/posts/exploring-mutable-consteval-state/
83
Upvotes
r/cpp • u/friedkeenan • Mar 08 '26
View all comments
12
u/jk-jeon Mar 08 '26
I wonder how the status of friend injection (and stateful metaprogramming in general) would change with the advent of reflection. Will it stay as an unforgiven black magic, or join the party of shocking-at-first-but-amusing-and-useful techniques like CRTP?