Skip to content

Core.Meta (Visera.Core.Meta)

Core.Meta provides metaprogramming and type conversion utilities for compile-time type checks and safe/unsafe runtime casts. With Traits it supports type-trait queries and down/cross casts; used in engine internals and generic utilities.

Responsibilities

  • Type-trait-based queries and branching (e.g. if constexpr with trait checks).
  • Cast provides safe downcast (dynamic_cast style) or unsafe pointer/reference cast for polymorphic hierarchies and low-level interop.
  • Optional non-RTTI implementation may be provided by this module or Traits for RTTI-disabled builds.

Submodules

Module Description
Cast Safe and unsafe cast helpers.

See also

  • Core — Parent module
  • Traits — Type traits and Flags
  • Types — Type system