diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index c79a588..c31d860 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -2656,7 +2656,7 @@ The compiler gives an error if a non-`constexpr` function is called where a cons Some optimizers are good at inlining without hints from the programmer, but don't rely on it. Measure! Over the last 40 years or so, we have been promised compilers that can inline better than humans without hints from humans. We are still waiting. -Specifying `inline` encourages the compiler to do a better job. +Specifying inline (explicitly, or implicitly when writing member functions inside a class definition) encourages the compiler to do a better job. ##### Example