Login
From:
Andrzej's C++ blog
(Uncensored)
subscribe
Short-circuiting in meta-functions | Andrzej's C++ blog
https://akrzemi1.wordpress.com/2019/12/23/short-circuiting-in-meta-functions/
links
backlinks
Roast topics
Find topics
Find it!
Short-circuiting in logical operations is a very useful and an often used feature: Should cond_a() evaluate to false, cond_b() is guaranteed not to be evaluated. This is useful for two reasons. One…