FastLED 3.9.15
Loading...
Searching...
No Matches

◆ swap()

template<typename T, typename Alloc = fl::allocator<T>>
void fl::scoped_array2< T, Alloc >::swap ( scoped_array2< T, Alloc > & other)
inlinenoexcept

Definition at line 271 of file scoped_ptr.h.

271 {
272 T *tmp_arr = arr_;
273 size_t tmp_size = size_;
274
275 arr_ = other.arr_;
276 size_ = other.size_;
277
280 }

References scoped_array2(), arr_, and size_.

+ Here is the call graph for this function: