Is it possible to determine the cardinality of a c++ enum class:
enum class
enum class Example { A, B, C, D, E };
I tried to use si
si
No , you have to write it in the code.