FastLED 3.9.15
|
Definition at line 92 of file scoped_ptr.h.
#include <scoped_ptr.h>
Public Member Functions | |
scoped_array (const scoped_array &)=delete | |
scoped_array (scoped_array &&other) noexcept | |
scoped_array (T *arr, Deleter deleter) | |
scoped_array (T *arr=nullptr) | |
~scoped_array () | |
void | clear () |
T * | get () const |
operator bool () const noexcept | |
bool | operator! () const noexcept |
scoped_array & | operator= (const scoped_array &)=delete |
scoped_array & | operator= (scoped_array &&other) noexcept |
T & | operator[] (size_t i) const |
T * | release () |
void | reset (T *arr=nullptr) |
Private Attributes | |
T * | arr_ |
Deleter | deleter_ = {} |