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
Show parent comment
5
u/katzdm-cpp Mar 09 '26
When I became aware of some ways that friend injection can couple with Reflection, I put some time into trying to find a way to excise friend injection from the standard without breaking more benign and widely used patterns like "hidden friends". I came up short. My guess is that the ship has sailed, and that friend injection is here to stay.