Add all typedefs for enum_iterator
This commit is contained in:
parent
6207df1e9b
commit
92ed64edd1
1 changed files with 5 additions and 0 deletions
|
|
@ -40,6 +40,11 @@ namespace psemek::util
|
|||
struct enum_iterator
|
||||
{
|
||||
using underlying_type = std::underlying_type_t<Enum>;
|
||||
using difference_type = underlying_type;
|
||||
using value_type = Enum;
|
||||
using pointer = Enum const *;
|
||||
using reference = Enum;
|
||||
using iterator_category = std::bidirectional_iterator_tag;
|
||||
|
||||
underlying_type value;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue