Merge pull request #4997 from lioncash/contrib
Contributing.md: Update C++11 mention to C++14
This commit is contained in:
commit
0b1ebc8d63
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue