mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Use the same phrasing in index and actual rule
This commit is contained in:
parent
c57e95d1c8
commit
1caef9a7f1
|
@ -2346,7 +2346,7 @@ Function definition rules:
|
|||
* [F.3: Keep functions short and simple](#Rf-single)
|
||||
* [F.4: If a function might have to be evaluated at compile time, declare it `constexpr`](#Rf-constexpr)
|
||||
* [F.5: If a function is very small and time-critical, declare it inline](#Rf-inline)
|
||||
* [F.6: If your function might not throw, declare it `noexcept`](#Rf-noexcept)
|
||||
* [F.6: If your function must not throw, declare it `noexcept`](#Rf-noexcept)
|
||||
* [F.7: For general use, take `T*` or `T&` arguments rather than smart pointers](#Rf-smart)
|
||||
* [F.8: Prefer pure functions](#Rf-pure)
|
||||
* [F.9: Unused parameters should be unnamed](#Rf-unused)
|
||||
|
|
Loading…
Reference in New Issue
Block a user