Doku Wiki
Doku Wiki
  • Tools
    • User Tools
    • Log In
    • Site Tools
    • Recent Changes
    • Media Manager
    • Sitemap
    • Page Tools
    • Show pagesource
    • Old revisions
    • Backlinks
    • Back to top
  • Log In

  1. Trace
  2. u-boot_am335x_evm
  3. git_good_commits
  4. git_searching
  5. operstate
  6. zed_machine_conf
  7. git_config
  8. git_fsck
  9. kubernetes_on_fedora
  10. git_ignore
  11. c_enums

c_enums

Sidebar
  • Home
  • All things Xilinx
  • Show pagesource
  • Old revisions
  • Backlinks
  • Back to top
  • Share via
    • Share via...
    • Twitter
    • LinkedIn
    • Facebook
    • Pinterest
    • Telegram
    • WhatsApp
    • Yammer
    • Reddit
    • Teams
  • Recent Changes
  • Send via e-Mail
  • Print
  • Permalink

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
Doku Wiki

Doku Wiki


cc by sa

Except where otherwise noted, content on this wiki is licensed under the following license:
CC Attribution-Share Alike 4.0 International

  • Bootstrap template for DokuWiki
  • Powered by PHP
  • Valid HTML5
  • Valid CSS
  • Driven by DokuWiki