FastLED 3.10.8
Loading...
Searching...
No Matches

◆ replace()

template<typename Iterator, typename T>
void fl::adl_barrier::replace ( Iterator first,
Iterator last,
const T & old_value,
const T & new_value )

Definition at line 248 of file algorithm.h.

248 {
249 while (first != last) {
250 if (*first == old_value) {
251 *first = new_value;
252 }
253 ++first;
254 }
255}

References fl::FL_NO_EXCEPT.

Referenced by fl::basic_string::replace(), fl::basic_string::replace(), and fl::basic_string::replace().

+ Here is the caller graph for this function: