From 0931fab3d5da64a6515751d4bc260862b763cfcb Mon Sep 17 00:00:00 2001 From: Edward Brey Date: Tue, 5 Dec 2017 13:46:59 -0600 Subject: [PATCH] T.concept: Remove comment unnecessary in good example The properly defined `Number` concept used as the template type is fully expressive. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 9ddbdcd..94d60ae 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -16287,7 +16287,7 @@ The ability to specify a meaningful semantics is a defining characteristic of a && has_multiply && has_divide; - template auto algo(const N& a, const N& b) // use two numbers + template auto algo(const N& a, const N& b) { // ... return a + b;