summaryrefslogtreecommitdiffstats
path: root/deps/include/entt/poly/fwd.hpp
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-03-15 16:22:09 +0500
committeruntodesu <kirill@untode.su>2025-03-15 16:22:09 +0500
commit3bf42c6ff3805a0d42bbc661794a95ff31bedc26 (patch)
tree05049955847504808d6bed2bb7b155f8b03807bb /deps/include/entt/poly/fwd.hpp
parent02294547dcde0d4ad76e229106702261e9f10a51 (diff)
downloadvoxelius-3bf42c6ff3805a0d42bbc661794a95ff31bedc26.tar.bz2
voxelius-3bf42c6ff3805a0d42bbc661794a95ff31bedc26.zip
Add whatever I was working on for the last month
Diffstat (limited to 'deps/include/entt/poly/fwd.hpp')
-rw-r--r--deps/include/entt/poly/fwd.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/deps/include/entt/poly/fwd.hpp b/deps/include/entt/poly/fwd.hpp
new file mode 100644
index 0000000..89e2c90
--- /dev/null
+++ b/deps/include/entt/poly/fwd.hpp
@@ -0,0 +1,21 @@
+#ifndef ENTT_POLY_FWD_HPP
+#define ENTT_POLY_FWD_HPP
+
+#include <cstddef>
+
+namespace entt {
+
+// NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays)
+template<typename, std::size_t Len = sizeof(double[2]), std::size_t = alignof(double[2])>
+class basic_poly;
+
+/**
+ * @brief Alias declaration for the most common use case.
+ * @tparam Concept Concept descriptor.
+ */
+template<typename Concept>
+using poly = basic_poly<Concept>;
+
+} // namespace entt
+
+#endif