Merge pull request #905 from ewoudvc/es24_toc_rule_correction

ES.24: have TOC rule match body rule
This commit is contained in:
Gabriel Dos Reis 2017-05-01 11:07:32 -07:00 committed by GitHub
commit 0ff5518dca

View File

@ -9192,7 +9192,7 @@ Declaration rules:
* [ES.21: Don't introduce a variable (or constant) before you need to use it](#Res-introduce)
* [ES.22: Don't declare a variable until you have a value to initialize it with](#Res-init)
* [ES.23: Prefer the `{}`-initializer syntax](#Res-list)
* [ES.24: Use a `unique_ptr<T>` to hold pointers in code that may throw](#Res-unique)
* [ES.24: Use a `unique_ptr<T>` to hold pointers](#Res-unique)
* [ES.25: Declare an object `const` or `constexpr` unless you want to modify its value later on](#Res-const)
* [ES.26: Don't use a variable for two unrelated purposes](#Res-recycle)
* [ES.27: Use `std::array` or `stack_array` for arrays on the stack](#Res-stack)