User Tools

Site Tools


c_enums

This is an old revision of the document!


Overview

C++11 extensions to enums – enum classes versus original “plain” enums.

Basics

enum class Color { red, green, blue };
...
Color::red
Color::green
c_enums.1517738968.txt.gz · Last modified: 2018/02/04 10:09 by rpjday