1#ifndef ENTT_META_CTX_HPP
2#define ENTT_META_CTX_HPP
4#include "../container/dense_map.hpp"
5#include "../core/fwd.hpp"
6#include "../core/utility.hpp"
18 dense_map<id_type, meta_type_node, identity> value{};
20 [[nodiscard]]
inline static meta_context &from(meta_ctx &ctx);
21 [[nodiscard]]
inline static const meta_context &from(
const meta_ctx &ctx);
34class meta_ctx:
private internal::meta_context {
36 friend struct internal::meta_context;
40[[
nodiscard]]
inline internal::meta_context &internal::meta_context::from(
meta_ctx &ctx) {
44[[
nodiscard]]
inline const internal::meta_context &internal::meta_context::from(
const meta_ctx &ctx) {
constexpr Type make_obj_using_allocator(const Allocator &allocator, Args &&...args)
Uses-allocator construction utility (waiting for C++20).
constexpr meta_ctx_arg_t meta_ctx_arg
Constant of type meta_context_arg_t used to disambiguate calls.