summaryrefslogtreecommitdiffhomepage
path: root/compat/enum-bitset-fwd.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/enum-bitset-fwd.hpp')
-rw-r--r--compat/enum-bitset-fwd.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/compat/enum-bitset-fwd.hpp b/compat/enum-bitset-fwd.hpp
new file mode 100644
index 00000000..ad75b3aa
--- /dev/null
+++ b/compat/enum-bitset-fwd.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+namespace floormat {
+
+template<typename Enum, Enum COUNT_ = Enum::COUNT>
+requires (std::is_enum_v<Enum> && std::is_same_v<size_t, std::common_type_t<size_t, std::underlying_type_t<Enum>>>)
+struct enum_bitset;
+
+} // namespace floormat