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 | (zak389) |
Race Number | 445 |
Date | Sat, 20 Jul 2024 23:57:26 +0000 |
Universe | code |
Speed | 85 WPM Try to beat? |
Accuracy | 97.7% |
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)
|