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

Detailed Description

template<typename T, typename Deleter = ArrayDeleter<T>>
class fl::scoped_array< T, Deleter >

Definition at line 92 of file scoped_ptr.h.

#include <scoped_ptr.h>

+ Inheritance diagram for fl::scoped_array< T, Deleter >:

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_arrayoperator= (const scoped_array &)=delete
 
scoped_arrayoperator= (scoped_array &&other) noexcept
 
T & operator[] (size_t i) const
 
T * release ()
 
void reset (T *arr=nullptr)
 

Private Attributes

T * arr_
 
Deleter deleter_ = {}
 

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