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
53
Upvotes
r/cpp • u/pavel_v • Mar 27 '26
View all comments
Show parent comment
5
u/EC36339 Mar 27 '26
Well, that's fine.
In that case, SFINAE was just not a good example, because SFINAE, even with standard wrappers like
std::enable_if_tis just horrible and unreadable, to the point that you think 3 times whether you use it or just not have type constraints when they are not strictly needed for overload resolution.