ranges_algobase.h
17.9 KB
-
libstdc++: Move code after an early exit constexpr if to under an else branch · 93b8cfce
This avoids instantiating dead code when the true branch of the constexpr if is taken. libstdc++-v3/ChangeLog: * include/bits/ranges_algo.h (__lexicographical_compare_fn::operator()): Move code after an early exit constexpr if to under an else branch. * include/bits/ranges_algobase.h (__equal_fn::operator()): Likewise.
Patrick Palka committed