Record your races with a typeracer account:
Create Your Account- Save your race history and scores.
- Customize your profile and racecar.
- It’s free, why not?
Race Result Details |
Racer | Jay (kamikamigod) |
Race Number | 2 |
Date | Tue, 5 Dec 2023 15:42:44 +0000 |
Universe | code |
Speed | 67 WPM Try to beat? |
Accuracy | 95.1% |
Rank | 1st place (out of 2) |
Text typed:
template<typename ...Args> bool all(Args ...args) { return (... && args); } bool b = all(true, true, true, false); // Within the instantiation of all, the returned expression expands to ((true && true) && true) && false, which evaluates to false.
— C++26 Standard Draft N4964 - Lambdas in C++ Constant Expressions
(software)
by C++ Committee
(see stats)
|