summaryrefslogtreecommitdiffstats
path: root/deps/include/entt/meta/context.hpp
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-28 01:59:49 +0500
committeruntodesu <kirill@untode.su>2025-06-28 01:59:49 +0500
commit61e5bcef2629e2d68b805a956a96fff264d4f74d (patch)
treebca3a94bac79d34e3c0db57c77604f5a823ecbda /deps/include/entt/meta/context.hpp
parent88c01588aa0830e219eaa62588839e4d1e2883ce (diff)
downloadvoxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.tar.bz2
voxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.zip
Restructure dependencies and update to C++20
- Nuked static_assert from almost everywhere in the project - Nuked binary dependency support. Might add one later though - Separated dependency headers into a separate include subdirectory - Grafted a thirdpartylegalnotices.txt generator from RITEG - Pushed development snapshot version to 2126 (26th week of 2025)
Diffstat (limited to 'deps/include/entt/meta/context.hpp')
-rw-r--r--deps/include/entt/meta/context.hpp51
1 files changed, 0 insertions, 51 deletions
diff --git a/deps/include/entt/meta/context.hpp b/deps/include/entt/meta/context.hpp
deleted file mode 100644
index 920a6f1..0000000
--- a/deps/include/entt/meta/context.hpp
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef ENTT_META_CTX_HPP
-#define ENTT_META_CTX_HPP
-
-#include "../container/dense_map.hpp"
-#include "../core/fwd.hpp"
-#include "../core/utility.hpp"
-
-namespace entt {
-
-class meta_ctx;
-
-/*! @cond TURN_OFF_DOXYGEN */
-namespace internal {
-
-struct meta_type_node;
-
-struct meta_context {
- dense_map<id_type, meta_type_node, identity> value{};
-
- [[nodiscard]] inline static meta_context &from(meta_ctx &ctx);
- [[nodiscard]] inline static const meta_context &from(const meta_ctx &ctx);
-};
-
-} // namespace internal
-/*! @endcond */
-
-/*! @brief Disambiguation tag for constructors and the like. */
-class meta_ctx_arg_t final {};
-
-/*! @brief Constant of type meta_context_arg_t used to disambiguate calls. */
-inline constexpr meta_ctx_arg_t meta_ctx_arg{};
-
-/*! @brief Opaque meta context type. */
-class meta_ctx: private internal::meta_context {
- // attorney idiom like model to access the base class
- friend struct internal::meta_context;
-};
-
-/*! @cond TURN_OFF_DOXYGEN */
-[[nodiscard]] inline internal::meta_context &internal::meta_context::from(meta_ctx &ctx) {
- return ctx;
-}
-
-[[nodiscard]] inline const internal::meta_context &internal::meta_context::from(const meta_ctx &ctx) {
- return ctx;
-}
-/*! @endcond */
-
-} // namespace entt
-
-#endif