diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 571319d..5d2104d 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -3749,6 +3749,7 @@ Declaring `main` (the one global `main` of a program) `void` limits portability. ##### Note We mention this only because of the persistence of this error in the community. +Note that despite its non-void return type, the main function does not require an explicit return statement. ##### Enforcement