From 96c14cced6ebf14a70c856a9938d7ff69a5b11f8 Mon Sep 17 00:00:00 2001 From: beinhaerter <34543625+beinhaerter@users.noreply.github.com> Date: Thu, 1 Aug 2019 20:23:19 +0200 Subject: [PATCH] section T, minor stuff (#1484) - added space between two sentences - added missing closing bracket - typo "of" -> "or" --- CppCoreGuidelines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index caf1786..82dea2a 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -17680,8 +17680,8 @@ Typically, the solution is to make what would have been a nested class non-local List lst2; Some people found the idea that the `Link` no longer was hidden inside the list scary, so we named the technique -[SCARY](http://www.open-std.org/jtc1/sc22/WG21/docs/papers/2009/n2911.pdf).From that academic paper: -"The acronym SCARY describes assignments and initializations that are Seemingly erroneous (appearing Constrained by conflicting generic parameters), but Actually work with the Right implementation (unconstrained bY the conflict due to minimized dependencies." +[SCARY](http://www.open-std.org/jtc1/sc22/WG21/docs/papers/2009/n2911.pdf). From that academic paper: +"The acronym SCARY describes assignments and initializations that are Seemingly erroneous (appearing Constrained by conflicting generic parameters), but Actually work with the Right implementation (unconstrained bY the conflict due to minimized dependencies)." ##### Enforcement @@ -17841,7 +17841,7 @@ When `concept`s become widely available such alternatives can be distinguished d template void f(T t, U u) { - T v1(x); // is v1 a function of a variable? + T v1(x); // is v1 a function or a variable? T v2 {x}; // variable auto x = T(u); // construction or cast? }