From bcca1488e8b799b3b52f57d6cdd6a054bd5f6132 Mon Sep 17 00:00:00 2001 From: Thibault Kruse Date: Thu, 11 Aug 2016 18:32:11 +0200 Subject: [PATCH] unique var names in example --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 34e965d..4f22a79 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -13044,8 +13044,8 @@ Better performance, better compile-time checking, guaranteed compile-time evalua ##### Example double x = f(2); // possible run-time evaluation - const double x = f(2); // possible run-time evaluation - constexpr double y = f(2); // error unless f(2) can be evaluated at compile time + const double y = f(2); // possible run-time evaluation + constexpr double z = f(2); // error unless f(2) can be evaluated at compile time ##### Note