Skip to content
Permalink
Browse files
Merge pull request #8079 from Qyriad/docs/contributing-use-c++17
Document that the codebase now uses C++17 in Contributing.md
  • Loading branch information
lioncash committed May 5, 2019
2 parents 4fdd403 + 0c38943 commit 7aa591b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -171,7 +171,7 @@ Summary:
- [Classes and Structs](#cpp-code-classes-and-structs)

## <a name="cpp-code-general"></a>General
- The codebase currently uses C++14.
- The codebase currently uses C++17.
- 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.

0 comments on commit 7aa591b

Please sign in to comment.