Struct meta_template_traits< Clazz< Args... > >

Synopsis

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

template<template<typename...> typename Clazz, typename... Args>
struct meta_template_traits<Clazz<Args...>>

Description

General purpose traits class for generating meta template information.

Template Parameters

Clazz - Type of class template.

Args - Types of template arguments.

Source

Lines 21-27 in src/entt/meta/template.hpp.

template<template<typename...> typename Clazz, typename... Args>
struct meta_template_traits<Clazz<Args...>> {
    /*! @brief Wrapped class template. */
    using class_type = meta_class_template_tag<Clazz>;
    /*! @brief List of template arguments. */
    using args_type = type_list<Args...>;
};





Add Discussion

Log in to comment