Struct meta_ctx
Synopsis
#include <src/entt/meta/ctx.hpp>
struct meta_ctx
Description
Opaque container for a meta context.
Mentioned in
- Push EnTT Across Boundaries / Meta context
Methods
bind | Binds the meta system to a given context. |
Source
Lines 42-53 in src/entt/meta/ctx.hpp.
struct meta_ctx {
/**
* @brief Binds the meta system to a given context.
* @param other A valid context to which to bind.
*/
static void bind(meta_ctx other) ENTT_NOEXCEPT {
internal::meta_context::global() = other.ctx;
}
private:
internal::meta_type_node **ctx{&internal::meta_context::local()};
};