FastLED 3.9.15
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 825 of file basic_string.cpp.hpp.

825 {
826 if (pos2 >= str.size()) return *this;
827 fl::size actualCount = count;
828 if (actualCount == npos || pos2 + actualCount > str.size()) {
829 actualCount = str.size() - pos2;
830 }
831 return insert(pos, str.c_str() + pos2, actualCount);
832}
uint8_t pos
Definition Blur.ino:11
static constexpr fl::size npos
basic_string & insert(fl::size pos, fl::size count, char ch) FL_NOEXCEPT

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

+ Here is the call graph for this function: