FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ reset()

template<typename T, typename Deleter = ArrayDeleter<T>>
void fl::scoped_array< T, Deleter >::reset ( T * arr = nullptr)
inline

Definition at line 143 of file scoped_ptr.h.

143 {
144 if (arr_ == arr) {
145 return;
146 }
147 deleter_(arr_);
148 arr_ = arr;
149 }

References arr_, and deleter_.

Referenced by clear(), and operator=().

+ Here is the caller graph for this function: