Function resolve

Synopsis

#include <src/entt/meta/resolve.hpp>

template <typename Type>
meta_type resolve() noexcept

Description

Returns the meta type associated with a given type.

Returns a range to use to visit all meta types.

Template Parameters:

Type - Type to use to search for a meta type.

Return
The meta type associated with the given type, if any.
Return
An iterable range to use to visit all meta types.

Mentioned in

Source

Lines 19-22 in src/entt/meta/resolve.hpp.

template<typename Type>
[[nodiscard]] meta_type resolve() ENTT_NOEXCEPT {
    return internal::meta_info<Type>::resolve();
}





Add Discussion

Log in to comment