Clean up enum_set.h header

Include a missing array header, and switch to idiomatic include guards.
This commit is contained in:
ridiculousfish 2019-04-26 16:08:19 -07:00
parent e084d097d5
commit 9bc5d60eaf

View File

@ -1,5 +1,7 @@
#pragma once
#ifndef FISH_ENUM_SET_H
#define FISH_ENUM_SET_H
#include <array>
#include <bitset>
#include <cassert>
#include <iterator>
@ -136,3 +138,5 @@ class enum_iter_t {
iterator_t begin() const { return iterator_t{0}; }
iterator_t end() const { return iterator_t{static_cast<base_type_t>(enum_count<T>())}; }
};
#endif