Function meta_arg

Synopsis

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

template <typename Type>
static meta_type meta_arg(const std::size_t index)

Description

Returns the meta type of the i-th element of a list of arguments.

Template Parameters

Type - Type list of the actual types of arguments.

Returns
The meta type of the i-th element of the list of arguments.

Source

Lines 152-155 in src/entt/meta/utility.hpp.

template<typename Type>
[[nodiscard]] static meta_type meta_arg(const std::size_t index) ENTT_NOEXCEPT {
    return internal::meta_arg_node(Type{}, index);
}





Add Discussion

Log in to comment