FastLED 3.10.6
Loading...
Searching...
No Matches

◆ insert() [2/5]

basic_string & fl::basic_string::insert ( fl::size pos,
const basic_string & str,
fl::size pos2,
fl::size count = npos )

Definition at line 849 of file basic_string.cpp.hpp.

849 {
850 if (pos2 >= str.size()) return *this;
851 fl::size actualCount = count;
852 if (actualCount == npos || pos2 + actualCount > str.size()) {
853 actualCount = str.size() - pos2;
854 }
855 return insert(pos, str.c_str() + pos2, actualCount);
856}
uint8_t pos
Definition Blur.ino:11
static constexpr fl::size npos
basic_string & insert(fl::size pos, fl::size count, char ch) FL_NO_EXCEPT

References basic_string(), c_str(), insert(), npos, pos, and size().

+ Here is the call graph for this function: