Skip to content

Commit 0459ef4

Browse files
committed
Demote enforcement to note, closes #2246
1 parent f7d1181 commit 0459ef4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CppCoreGuidelines.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2679,9 +2679,9 @@ Member functions defined in-class are `inline` by default.
26792679

26802680
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.
26812681

2682-
##### Enforcement
2682+
##### Note
26832683

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).
26852685

26862686
### <a name="Rf-noexcept"></a>F.6: If your function must not throw, declare it `noexcept`
26872687

0 commit comments

Comments
 (0)