A sort-of mixin that implements 'at(pos)' and 'operator[](pos)' only for a specific enum class.
More...
template<typename Container, typename Index>
class EnumClassIndexContainer< Container, Index >
A sort-of mixin that implements 'at(pos)' and 'operator[](pos)' only for a specific enum class.
This to prevent having to call 'to_underlying()' for many container accesses, whilst preventing accidental use of the wrong index type.
- Template Parameters
-
| Container | A base container. |
| Index | The enum class to use for indexing. |
Definition at line 247 of file enum_type.hpp.