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 | 447 |
Date | Mon, 22 Jul 2024 16:56:03 +0000 |
Universe | code |
Speed | 88 WPM Try to beat? |
Accuracy | 96.4% |
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)
|