QuantumLibrary
Bloomberg::quantum::Allocator< AllocType > Struct Template Reference

#include <quantum_allocator.h>

Static Public Member Functions

template<typename A = AllocType>
static AllocType & instance (std::enable_if_t<!A::default_constructor::value, uint16_t > size)
 
template<typename A = AllocType>
static AllocType & instance (std::enable_if_t< A::default_constructor::value, uint16_t >=0)
 

Member Function Documentation

◆ instance() [1/2]

template<typename AllocType >
template<typename A = AllocType>
static AllocType& Bloomberg::quantum::Allocator< AllocType >::instance ( std::enable_if_t<!A::default_constructor::value, uint16_t >  size)
inlinestatic

◆ instance() [2/2]

template<typename AllocType >
template<typename A = AllocType>
static AllocType& Bloomberg::quantum::Allocator< AllocType >::instance ( std::enable_if_t< A::default_constructor::value, uint16_t >  = 0)
inlinestatic