TrinityCore
Loading...
Searching...
No Matches
WorldPackets::ArrayAllocatorTraits< T, N, IsLarge > Struct Template Reference

#include <PacketUtilities.h>

Public Types

using allocator_type = short_alloc::short_alloc< T,(N *sizeof(T)+(alignof(std::max_align_t) - 1)) &~(alignof(std::max_align_t) - 1)>
 
using resource_type = typename allocator_type::arena_type
 

Detailed Description

template<typename T, std::size_t N, bool IsLarge>
struct WorldPackets::ArrayAllocatorTraits< T, N, IsLarge >

Definition at line 151 of file PacketUtilities.h.

Member Typedef Documentation

◆ allocator_type

template<typename T , std::size_t N, bool IsLarge>
using WorldPackets::ArrayAllocatorTraits< T, N, IsLarge >::allocator_type = short_alloc::short_alloc<T, (N * sizeof(T) + (alignof(std::max_align_t) - 1)) & ~(alignof(std::max_align_t) - 1)>

Definition at line 153 of file PacketUtilities.h.

◆ resource_type

template<typename T , std::size_t N, bool IsLarge>
using WorldPackets::ArrayAllocatorTraits< T, N, IsLarge >::resource_type = typename allocator_type::arena_type

Definition at line 154 of file PacketUtilities.h.


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