Add Waylight namespace

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-10-17 00:20:39 +03:00
parent 42a9de3ba3
commit 237208d972
14 changed files with 91 additions and 37 deletions

View File

@@ -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