mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
F.1 drop invalid line closes #1928
This commit is contained in:
@@ -2432,7 +2432,6 @@ Naming that lambda breaks up the expression into its logical parts and provides
|
||||
auto lessT = [](T x, T y) { return x.rank() < y.rank() && x.value() < y.value(); };
|
||||
|
||||
sort(a, b, lessT);
|
||||
find_if(a, b, lessT);
|
||||
|
||||
The shortest code is not always the best for performance or maintainability.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user