r/cpp • • Jun 01 '26

Validating Callable Parameters with C++20 and C++26 Static Reflection

https://kstocky.github.io/blog/validating-callable-parameters/

Hi all! I wrote a new blog series to figure out how much easier static reflection makes it to implement a type trait which is fairly difficult to implement pre-static reflection.

If all you care about is the static reflection bit, here is the link to just that section.

Enjoy!

41 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/StockyDev Jun 01 '26

Ah! Yes very true... Yeah perhaps we will get a solve for this in a future standard :)