---
title: "Discussion on \"C++ enum forward declaration\" | Hashnode"
description: "Discussion on \"C++ enum forward declaration\". Preface\nThere are two forms of enumeration in C++, enum and enum class. Enum is the pre-c++11 syntax, which means it is an unscoped enumeration. The enum class was introduced in C++11 and provides a scoped enumeration\nUnscoped enumerations\n// A.h\nenu..."
url: "https://hashnode.com/posts/c-enum-forward-declaration/641c41a329301b2d288fc9c8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [C++ enum forward declaration](https://kangaroolove.hashnode.dev/c-enum-forward-declaration?utm_source=hashnode&utm_medium=feed)

Preface There are two forms of enumeration in C++, enum and enum class. Enum is the pre-c++11 syntax, which means it is an unscoped enumeration. The enum class was introduced in C++11 and provides a scoped enumeration Unscoped enumerations // A.h enu...

Mar 23, 2023 · 1 min read · kangaroolove.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#enum-forward-declaration](https://hashnode.com/tag/enum-forward-declaration)

## Written by

[Kangaroo](https://hashnode.com/@KangarooLove)

@KangarooLove · Singapore

  
[View profile](https://hashnode.com/@KangarooLove)

Solo leveling

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
