Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::HasAZClassAllocator< T, class > Struct Template Reference

#include <Memory_fwd.h>

Public Types

using type = HasAZClassAllocator
 

Public Member Functions

constexpr operator bool () const
 
constexpr bool operator() () const
 

Static Public Attributes

static constexpr bool value = false
 

Detailed Description

template<class T, class = void>
struct AZ::HasAZClassAllocator< T, class >

Helper class to determine if type T specializes AZ Allocators, so we can safely call aznew on it. - HasAZClassAllocator<ClassType>... In order to avoid reduce include dependencies, constructs such as std::integral_constant, std::enable_if_t and std::is_same_v are not being used This allows this header to be used without the need to include <type_traits>


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