Inserts a string, Null Terminated Character Type Sequence or char type into the string.
basic_string& insert (size_type pos1, const basic_string& str); basic_string& insert (size_type pos1, const basic_string& str, size_type pos2, size_type n); basic_string& insert (size_type pos, const charT* s, size_type n); basic_string& insert(size_type pos, const charT* s); basic_string& insert (size_type pos, size_type n, charT c); iterator insert(iterator p, charT c = charT()); void insert(iterator p, size_type n, charT c); template<class InputIterator> void insert (iterator p, InputIterator first, InputIterator last);
May throw an exception.