EnTT: entt::poly_vtable< Concept, Len, Align > Class Template Reference

EnTT 3.16.0

Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
entt::poly_vtable< Concept, Len, Align > Class Template Reference

Static virtual table factory. More...

`#include <poly.hpp>`

## Public Types
using | type = std::conditional_t<is_mono, std::tuple_element_t<0u, vtable_type>, const vtable_type *>
| Virtual table type.

## Static Public Member Functions
template<typename Type>
static type | instance () noexcept
| Returns a static virtual table for a specific concept and type.

## Detailed Description

template<typename Concept, std::size_t Len, std::size_t Align>
class entt::poly_vtable< Concept, Len, Align >

Static virtual table factory.

Template Parameters

  Concept | Concept descriptor.
  Len | Size of the storage reserved for the small buffer optimization.
  Align | Alignment requirement.

Definition at line 47 of file poly.hpp.

## Member Typedef Documentation

## ◆ type

template<typename Concept, std::size_t Len, std::size_t Align>

using entt::poly_vtable< Concept, Len, Align >::type = std::conditional_t<is_mono, std::tuple_element_t<0u, vtable_type>, const vtable_type *>

Virtual table type.

Definition at line 104 of file poly.hpp.

## Member Function Documentation

## ◆ instance()

template<typename Concept, std::size_t Len, std::size_t Align>
template<typename Type>

type entt::poly_vtable< Concept, Len, Align >::instance | ( |  | ) |
| inlinestaticnodiscardnoexcept

Returns a static virtual table for a specific concept and type.

Template Parameters

  Type | The type for which to generate the virtual table.

Returns
  A static virtual table for the given concept and type.

Definition at line 112 of file poly.hpp.

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

- src/entt/poly/poly.hpp