You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CppCoreGuidelines.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2679,9 +2679,9 @@ Member functions defined in-class are `inline` by default.
2679
2679
2680
2680
Function templates (including member functions of class templates `A<T>::function()` and member function templates `A::function<T>()`) are normally defined in headers and therefore inline.
2681
2681
2682
-
##### Enforcement
2682
+
##### Note
2683
2683
2684
-
Flag `inline` functions that are more than three statements and could have been declared out of line (such as class member functions).
2684
+
Consider making functions out of line if they are more than three statements and can be declared out of line (such as class member functions).
2685
2685
2686
2686
### <a name="Rf-noexcept"></a>F.6: If your function must not throw, declare it `noexcept`
0 commit comments