Skip to content

enum Color demo

enum class Color : uint8_t { … }

Enumeration of colors.

This enum class defines a set of colors with specific underlying type. Color

enum constant Red

Red   = 1

Red color

Defined at library.hpp:78

enum constant Green

Green = 2

Green color

Defined at library.hpp:79

enum constant Blue

Blue  = 4

Blue color

Defined at library.hpp:80

Defined at library.hpp:76