Lemmy.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
bot@lemmy.smeargle.fansMB to Hacker News@lemmy.smeargle.fans · 11 months ago

Enum class improvements for C++17, C++20 and C++23

www.cppstories.com

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • [email protected]
5
external-link

Enum class improvements for C++17, C++20 and C++23

www.cppstories.com

bot@lemmy.smeargle.fansMB to Hacker News@lemmy.smeargle.fans · 11 months ago
message-square
0
link
fedilink
  • cross-posted to:
  • [email protected]
Enum Class Improvements for C++17, C++20 and C++23
www.cppstories.com
external-link
The evolution of the C++ language continues to bring powerful features that enhance code safety, readability, and maintainability. Among these improvements, we got changes and additions to enum class functionalities across C++17, C++20, and C++23. In this blog post, we’ll explore these advancements, focusing on initialization improvements in C++17, the introduction of the using enum keyword in C++20, and the std::to_underlying utility in C++23.

HN Discussion

alert-triangle
You must log in or # to comment.

Hacker News@lemmy.smeargle.fans

hackernews@lemmy.smeargle.fans

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
lock
Community locked: only moderators can create posts. You can still comment on posts.

A mirror of Hacker News’ best submissions.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 2 users / week
  • 2 users / month
  • 2 users / 6 months
  • 66 local subscribers
  • 2.17K subscribers
  • 17.6K Posts
  • 4.31K Comments
  • Modlog
  • mods:
  • bot@lemmy.smeargle.fans
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org