FastLED 3.9.15
Loading...
Searching...
No Matches
fl::scoped_array2< T, Alloc > Class Template Reference

Detailed Description

template<typename T, typename Alloc = fl::allocator<T>>
class fl::scoped_array2< T, Alloc >

Definition at line 173 of file scoped_ptr.h.

#include <scoped_ptr.h>

Public Member Functions

 scoped_array2 (const scoped_array2 &)=delete
 
 scoped_array2 (scoped_array2 &&other) noexcept
 
 scoped_array2 (size_t size=0)
 
 ~scoped_array2 ()
 
 FASTLED_DEPRECATED_CLASS ("Use fl::vector<T, fl::allocator_psram<T>> instead")
 
T * get () const
 
 operator bool () const noexcept
 
bool operator! () const noexcept
 
scoped_array2operator= (const scoped_array2 &)=delete
 
scoped_array2operator= (scoped_array2 &&other) noexcept
 
T & operator[] (size_t i) const
 
T * release ()
 
void reset (size_t new_size=0)
 
size_t size () const
 
void swap (scoped_array2 &other) noexcept
 

Public Attributes

Alloc mAlloc
 

Private Attributes

T * arr_ = nullptr
 
size_t size_ = 0
 

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