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 | last played 21/11/2024 (wrongpassword) |
Race Number | 1 |
Date | Thu, 7 Dec 2023 06:48:56 +0000 |
Universe | code |
Speed | 26 WPM Try to beat? |
Accuracy | 91.6% |
Rank | 2nd 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)
|