Use enum class in Enum.4 example. (#2065)

This commit is contained in:
Fernando J. Iglesias García 2023-04-14 05:26:43 +02:00 committed by GitHub
parent 1d04d93dbe
commit 16f29fd38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9156,7 +9156,7 @@ Convenience of use and avoidance of errors.
##### Example
enum Day { mon, tue, wed, thu, fri, sat, sun };
enum class Day { mon, tue, wed, thu, fri, sat, sun };
Day& operator++(Day& d)
{