• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

Is enum a data type in C++ standard?

Is enum a data type in C++ standard?

Any links for our reference will be appreciated.
0
naseeam
Asked:
naseeam
2 Solutions
 
pgnatyukCommented:
Yes.

C++ Std ISO IEC 9899 1990

7. 2. Enumeration declarations
An enumeration is a distinct type (3.9.1) with named constants. Its name becomes an enum-name, within its scope.

And so on.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now