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

the hidden compile-time cost of C++26 reflection

https://vittorioromeo.com/index/blog/refl_compiletime.html
121 Upvotes

150 comments sorted by

View all comments

Show parent comment

1

u/jwakely libstdc++ tamer, LWG chair Mar 09 '26

Yes, I already read the blog post.

1

u/SuperV1234 https://romeo.training | C++ Mentoring & Consulting Mar 09 '26

Great.

Is there any possible future reduction of <meta>'s size/parsing overhead given the restrictions imposed by the Standard?

1

u/jwakely libstdc++ tamer, LWG chair Mar 09 '26

Yes, lots. It's a brand new experimental feature that has just been implemented and nobody has tried to optimize it yet.