FastLED 3.9.15
Loading...
Searching...
No Matches
fl::allocator_traits< Allocator > Struct Template Reference

Detailed Description

template<typename Allocator>
struct fl::allocator_traits< Allocator >

Definition at line 31 of file allocator.h.

#include <allocator.h>

Classes

struct  has_allocate_at_least
 
struct  has_allocate_at_least< A, decltype((void) fl::declval< A >().allocate_at_least(fl::declval< typename A::size_type >()))>
 
struct  has_reallocate
 
struct  has_reallocate< A, decltype((void) fl::declval< A >().reallocate(fl::declval< typename A::pointer >(), fl::declval< typename A::size_type >(), fl::declval< typename A::size_type >()))>
 

Public Types

using allocator_type = Allocator
 
using pointer = typename Allocator::pointer
 
using size_type = typename Allocator::size_type
 
using value_type = typename Allocator::value_type
 

Static Public Attributes

static constexpr bool has_allocate_at_least_v = has_allocate_at_least<Allocator>::value
 
static constexpr bool has_reallocate_v = has_reallocate<Allocator>::value
 

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