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
13
u/friedkeenan Mar 08 '26 edited Mar 08 '26
I made this blog basically only so I could put this post somewhere, so I whipped it up fairly quickly. Any suggestions to make it better are welcome.
One thing I want to figure out is getting the inline
codetext syntax-highlighted, and maybe getting a nicer-looking theme for the syntax-highlighting too. But I was having trouble doing that, so I decided to put it off for later.EDIT: Of course, soon after I post this I realize a way we can avoid splicing at the call-site of
expand_loop. Basically I updated the code and the blogpost to be able to doInstead of what was before
Wish I had realized that before posting, heh.