Merge pull request #4997 from lioncash/contrib

Contributing.md: Update C++11 mention to C++14
This commit is contained in:
Anthony 2017-03-01 10:29:31 -08:00 committed by GitHub
commit 0b1ebc8d63
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ private:
## Code Specific
### General
- Using C++11 features is OK and recommended.
- The codebase currently uses C++14.
- Use the [nullptr](http://en.cppreference.com/w/cpp/language/nullptr) type over the macro `NULL`.
- If a [range-based for loop](http://en.cppreference.com/w/cpp/language/range-for) can be used instead of container iterators, use it.
- Obviously, try not to use `goto` unless you have a *really* good reason for it.