Added support for release type in metadata parser
This commit is contained in:
@@ -44,6 +44,13 @@ class EnumSet
|
||||
template <typename It>
|
||||
constexpr EnumSet(It begin, It end)
|
||||
{
|
||||
assign(begin, end);
|
||||
}
|
||||
|
||||
template <typename It>
|
||||
constexpr void assign(It begin, It end)
|
||||
{
|
||||
clear();
|
||||
for (It it {begin}; it != end; ++it)
|
||||
insert(*it);
|
||||
}
|
||||
@@ -71,6 +78,11 @@ class EnumSet
|
||||
return _bitfield & (underlying_type{ 1 } << static_cast<underlying_type>(value));
|
||||
}
|
||||
|
||||
constexpr void clear()
|
||||
{
|
||||
_bitfield = 0;
|
||||
}
|
||||
|
||||
class iterator
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user