EnTT: entt::storage_for< Type, Entity, Allocator > Struct Template Reference

EnTT 3.15.0

Loading...
Searching...
No Matches
Public Types | List of all members
entt::storage_for< Type, Entity, Allocator > Struct Template Reference

`#include <fwd.hpp>`

## Public Types
using | type = constness_as_t<storage_type_t<std::remove_const_t<Type>, Entity, Allocator>, Type>
| Type-to-storage conversion result.

## Detailed Description

template<typename Type, typename Entity = entity, typename Allocator = std::allocator<std::remove_const_t<Type>>>
struct entt::storage_for< Type, Entity, Allocator >

Type-to-storage conversion utility that preserves constness.

Template Parameters

  Type | Storage value type, eventually const.
  Entity | A valid entity type.
  Allocator | Type of allocator used to manage memory and elements.

Definition at line 259 of file fwd.hpp.

## Member Typedef Documentation

## ◆ type

template<typename Type, typename Entity = entity, typename Allocator = std::allocator<std::remove_const_t<Type>>>

using entt::storage_for< Type, Entity, Allocator >::type = constness_as_t<storage_type_t<std::remove_const_t<Type>, Entity, Allocator>, Type>

Type-to-storage conversion result.

Definition at line 261 of file fwd.hpp.

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

- src/entt/entity/fwd.hpp