Clementine
Public Member Functions | List of all members
entt::poly_inspector Struct Reference

Inspector class used to infer the type of the virtual table. More...

#include <entt.hpp>

Public Member Functions

template<class Type >
 operator Type && () const
 Generic conversion operator (definition only). More...
 
template<auto Member, typename... Args>
poly_inspector invoke (Args &&... args) const
 Dummy invocation function (definition only). More...
 
template<auto Member, typename... Args>
poly_inspector invoke (Args &&... args)
 Dummy invocation function (definition only). More...
 

Detailed Description

Inspector class used to infer the type of the virtual table.

Member Function Documentation

◆ invoke() [1/2]

template<auto Member, typename... Args>
poly_inspector entt::poly_inspector::invoke ( Args &&...  args) const

Dummy invocation function (definition only).

Template Parameters
MemberIndex of the function to invoke.
ArgsTypes of arguments to pass to the function.
Parameters
argsThe arguments to pass to the function.
Returns
A poly inspector convertible to any type.

◆ invoke() [2/2]

template<auto Member, typename... Args>
poly_inspector entt::poly_inspector::invoke ( Args &&...  args)

Dummy invocation function (definition only).

Template Parameters
MemberIndex of the function to invoke.
ArgsTypes of arguments to pass to the function.
Parameters
argsThe arguments to pass to the function.
Returns
A poly inspector convertible to any type.

◆ operator Type &&()

template<class Type >
entt::poly_inspector::operator Type && ( ) const

Generic conversion operator (definition only).

Template Parameters
TypeType to which conversion is requested.

The documentation for this struct was generated from the following file: