@@ -2332,7 +2332,7 @@ Function definition rules:
23322332* [F.3: Keep functions short and simple](#Rf-single)
23332333* [F.4: If a function might have to be evaluated at compile time, declare it `constexpr`](#Rf-constexpr)
23342334* [F.5: If a function is very small and time-critical, declare it inline](#Rf-inline)
2335- * [F.6: If your function mightnot throw, declare it `noexcept`](#Rf-noexcept)
2335+ * [F.6: If your function might not throw, declare it `noexcept`](#Rf-noexcept)
23362336* [F.7: For general use, take `T*` or `T&` arguments rather than smart pointers](#Rf-smart)
23372337* [F.8: Prefer pure functions](#Rf-pure)
23382338* [F.9: Unused parameters should be unnamed](#Rf-unused)
@@ -2581,7 +2581,7 @@ Small simple functions are easily inlined where the cost of a function call is s
25812581* Flag functions that are too complex. How complex is too complex?
25822582 You could use cyclomatic complexity. Try "more than 10 logical path through." Count a simple switch as one path.
25832583
2584- ### <a name="Rf-constexpr"></a>F.4: If a function mighthave to be evaluated at compile time, declare it `constexpr`
2584+ ### <a name="Rf-constexpr"></a>F.4: If a function might have to be evaluated at compile time, declare it `constexpr`
25852585
25862586##### Reason
25872587
@@ -2625,7 +2625,7 @@ Most computation is best done at run time.
26252625
26262626##### Note
26272627
2628- Any API that mighteventually depend on high-level run-time configuration or
2628+ Any API that might eventually depend on high-level run-time configuration or
26292629business logic should not be made `constexpr`. Such customization can not be
26302630evaluated by the compiler, and any `constexpr` functions that depended upon
26312631that API would have to be refactored or drop `constexpr`.
@@ -4799,7 +4799,7 @@ For resources represented as classes with a complete set of default operations,
47994799##### Example
48004800
48014801 class X {
4802- ifstream f; // mightown a file
4802+ ifstream f; // might own a file
48034803 // ... no default operations defined or =deleted ...
48044804 };
48054805
0 commit comments