r/cpp • u/pavel_v • Mar 27 '26
C++26: A User-Friendly assert() macro
https://www.sandordargo.com/blog/2026/03/25/cpp26-user-friendly-assert
52
Upvotes
r/cpp • u/pavel_v • Mar 27 '26
View all comments
Show parent comment
4
u/Potterrrrrrrr Mar 27 '26
Don’t you still need SFINAE for things like checking if a type is a specialisation of a particular template? You can wrap the logic in a concept to make it easier to use but AFAIK you need to use SFINAE and partial specialisation to make it work.