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?
Text Details
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
|
Language: | English |
Submitted by: | muchinchai |
This text has been typed
19 times:
Avg. speed: | 53 WPM |
---|---|
Avg. accuracy: | 95.4% |