From 12ad22b0247e3cbb435779b092707832cbaec552 Mon Sep 17 00:00:00 2001 From: Kimi MA Date: Fri, 6 Jan 2023 06:10:06 +0800 Subject: [PATCH] non-built-in -> built-in (#2015) --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 344544c..36d79aa 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -10241,7 +10241,7 @@ Large parts of the standard library rely on dynamic allocation (free store). The ##### Enforcement -Not easy. ??? Look for messy loops, nested loops, long functions, absence of function calls, lack of use of non-built-in types. Cyclomatic complexity? +Not easy. ??? Look for messy loops, nested loops, long functions, absence of function calls, lack of use of built-in types. Cyclomatic complexity? ### ES.2: Prefer suitable abstractions to direct use of language features @@ -10278,7 +10278,7 @@ Once the checking for overflow and error handling has been added that code gets ##### Enforcement -Not easy. ??? Look for messy loops, nested loops, long functions, absence of function calls, lack of use of non-built-in types. Cyclomatic complexity? +Not easy. ??? Look for messy loops, nested loops, long functions, absence of function calls, lack of use of built-in types. Cyclomatic complexity? ### ES.3: Don't repeat yourself, avoid redundant code