enum

C++ Core Guidelines: Rules for Enumerations

The section to enumerations has eight rules. Since C++11, we have scoped enumerations which overcome a lot of the drawbacks of classical enumerations. 

Read more
Tags: enum
Add CommentViews: 43560

Generalized Plain Old Data

Plain Old Data (POD) obeys the C standard layout. Therefore, you directly can apply the fast C functions memcopy, memmove, memset, or memcmp.

Read more
Tags: enum
Comments 1Views: 9743

Strongly-Typed Enums

Enumerations are a convenient way to define integer constants with names. This integer constants are called enumerators. Sadly, classical enums have a few drawbacks.

Read more
Tags: enum
Comments 10Views: 20974

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 2566

All 2167452

Currently are 81 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments