@@ -5,6 +5,10 @@
|
||||
#include <stdexcept>
|
||||
#include <type_traits>
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
namespace Waylight {
|
||||
|
||||
template<class E> struct enum_traits;
|
||||
|
||||
template<class E>
|
||||
@@ -76,3 +80,5 @@ constexpr auto make_enum_array(T &&first_val, U &&...rest)
|
||||
arr._data = { std::forward<T>(first_val), std::forward<U>(rest)... };
|
||||
return arr;
|
||||
}
|
||||
|
||||
} // namespace Waylight
|
||||
|
||||
Reference in New Issue
Block a user