Document istring::insert

This commit is contained in:
Myles Busig 2024-03-07 16:09:32 -07:00
parent 18246e131f
commit 8d8ceb0456

View File

@ -107,7 +107,11 @@ public:
void clear();
// Insert from self only works if index is after input range
/**
* \brief Insert a string at the given index
*
* Inserting a substring of the destination string is not supported.
*/
istring& insert(size_t index, const istring& str);
istring& insert(size_t index, const istring& str, size_t s_index, size_t count = npos);
istring& insert(size_t index, const string_view& str);