From 3c33b1f925051b00152899b09e9097852359ee56 Mon Sep 17 00:00:00 2001 From: Michael Park Date: Fri, 11 Dec 2015 08:29:28 -0500 Subject: [PATCH] F.4: Fixed a trivial style issue. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index fbbd9f5..bad4acb 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -2047,7 +2047,7 @@ This is C++14. For C++11, use a recursive formulation of `fac()`. `constexpr` does not guarantee compile-time evaluation; it just guarantees that the function can be evaluated at compile time for constant expression arguments if the programmer requires it or the compiler decides to do so to optimize. - constexpr int min(int x, int y) { return x < y ? x : y;} + constexpr int min(int x, int y) { return x < y ? x : y; } void test(int v) {