FastLED 3.9.15
Loading...
Searching...
No Matches
fl::InlinedMemoryBlock< T, N > Struct Template Reference

Detailed Description

template<typename T, fl::size N>
struct fl::InlinedMemoryBlock< T, N >

Definition at line 24 of file vector.h.

#include <vector.h>

+ Inheritance diagram for fl::InlinedMemoryBlock< T, N >:

Public Types

enum  { kTotalBytes = N * sizeof(T) , kExtraSize , kTotalBytesAligned = kTotalBytes + kExtraSize , kBlockSize = (kTotalBytesAligned + sizeof(MemoryType) - 1) / sizeof(MemoryType) }
 
typedef fl::uptr MemoryType
 

Public Member Functions

 InlinedMemoryBlock ()
 
 InlinedMemoryBlock (const InlinedMemoryBlock &other)=default
 
 InlinedMemoryBlock (InlinedMemoryBlock &&other)=default
 
T * memory ()
 
const T * memory () const
 

Public Attributes

MemoryType mMemoryBlock [kBlockSize]
 

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