0

Is there a way to fetch the number of elements in an enum in C++11 at compile time? In my case the enum is a ordered bitmask enum, meaning that first element is 0x0000, next element is 0x0001 and so on.

nyarlathotep108
  • 4,915
  • 1
  • 20
  • 56

0 Answers0