Struct meta_function_descriptor< Type, Ret(*)()>
Synopsis
#include <src/entt/meta/utility.hpp>
template<typename Type, typename Ret>
struct meta_function_descriptor<Type, Ret (*)()>
Description
Meta function descriptor.
- Template Parameters
Type
- Reflected type to which the meta function is associated.Ret
- Function return type.
Source
Lines 104-115 in src/entt/meta/utility.hpp.
template<typename Type, typename Ret>
struct meta_function_descriptor<Type, Ret (*)()> {
/*! @brief Meta function return type. */
using return_type = Ret;
/*! @brief Meta function arguments. */
using args_type = type_list<>;
/*! @brief True if the meta function is const, false otherwise. */
static constexpr auto is_const = false;
/*! @brief True if the meta function is static, false otherwise. */
static constexpr auto is_static = true;
};