User Tools

Site Tools


c_enums

This is an old revision of the document!


Overview

C++11 extensions to enums.

Basics

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