From 2b05a48a050664cb1039b3efb958057a91b36f82 Mon Sep 17 00:00:00 2001 From: Sergey Zubkov Date: Wed, 13 Jul 2022 12:36:52 -0400 Subject: [PATCH] F.1 drop invalid line closes #1928 --- CppCoreGuidelines.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index fceee69..233a6e7 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -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.