1#ifndef ENTT_META_RESOLVE_HPP
2#define ENTT_META_RESOLVE_HPP
5#include "../core/type_info.hpp"
6#include "../locator/locator.hpp"
20template<
typename Type>
22 auto &&context = internal::meta_context::from(ctx);
23 return {ctx, internal::resolve<std::remove_cv_t<std::remove_reference_t<Type>>>(context)};
31template<
typename Type>
42 auto &&context = internal::meta_context::from(ctx);
43 return {{ctx, context.value.cbegin()}, {ctx, context.value.cend()}};
62 if(
curr.second.id() == id) {
86 auto &&context = internal::meta_context::from(ctx);
87 const auto *
elem = internal::try_resolve(context, info);
Service locator, nothing more.
constexpr Type make_obj_using_allocator(const Allocator &allocator, Args &&...args)
Uses-allocator construction utility (waiting for C++20).
std::uint32_t id_type
Alias declaration for type identifiers.
meta_type resolve() noexcept
Returns the meta type associated with a given type.
Utility class to create an iterable object from a pair of iterators.
Implementation specific information about a type.