EnTT 3.13.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
TypeStorage value type, eventually const.
EntityA valid entity type.
AllocatorType of allocator used to manage memory and elements.

Definition at line 235 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 237 of file fwd.hpp.


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