r/cpp • https://romeo.training | C++ Mentoring & Consulting • Apr 28 '26

Things C++26 define_static_array can’t do

https://quuxplusone.github.io/blog/2026/04/24/define-static-array/
43 Upvotes

18 comments sorted by

View all comments

Show parent comment

3

u/WeeklyAd9738 Apr 29 '26

This problem has more to do with the type-system (particularly const correctness) than compiler incapability.