Short circuit of overloaded operator && and || in C++17
问题 I read in http://en.cppreference.com/w/cpp/language/operators: The boolean logic operators, operator && and operator || Unlike the built-in versions, the overloads do not sequence their left operand before the right one, and (until C++17) cannot implement short-circuit evaluation. (My emphasis). Couldn't find any resource or code example for C++17 supporting short-circuit for operator&& and operator||. Is it related to C++17 parameter pack fold expression? tried to play with it but couldn't