Skip to content

Add an enum bitset type #3

@BurningEnlightenment

Description

@BurningEnlightenment

Problem Description

Bitflags are best described as enum values. However, strong enums have no overloaded bit operators. Therefore it is very tedious to combine strong enum flags.

Proposed Solution

Add a template metaprogramming solution to enable bitset operations for enum class types on a opt-in basis.

Additional Context

Metadata

Metadata

Labels

type:taskA atomic feature / thing to be implemented

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions