mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 14:04:26 +02:00
@@ -1368,9 +1368,6 @@ class basic_string
|
|||||||
//! <b>Requires</b>: p is a valid iterator on *this.
|
//! <b>Requires</b>: p is a valid iterator on *this.
|
||||||
//!
|
//!
|
||||||
//! <b>Effects</b>: Inserts n copies of c before the character referred to by p.
|
//! <b>Effects</b>: Inserts n copies of c before the character referred to by p.
|
||||||
//!
|
|
||||||
//! <b>Returns</b>: An iterator which refers to the copy of the first
|
|
||||||
//! inserted character, or p if n == 0.
|
|
||||||
void insert(const_iterator p, size_type n, CharT c)
|
void insert(const_iterator p, size_type n, CharT c)
|
||||||
{
|
{
|
||||||
this->insert(p, cvalue_iterator(c, n), cvalue_iterator());
|
this->insert(p, cvalue_iterator(c, n), cvalue_iterator());
|
||||||
@@ -1379,9 +1376,6 @@ class basic_string
|
|||||||
//! <b>Requires</b>: p is a valid iterator on *this. [first,last) is a valid range.
|
//! <b>Requires</b>: p is a valid iterator on *this. [first,last) is a valid range.
|
||||||
//!
|
//!
|
||||||
//! <b>Effects</b>: Equivalent to insert(p - begin(), basic_string(first, last)).
|
//! <b>Effects</b>: Equivalent to insert(p - begin(), basic_string(first, last)).
|
||||||
//!
|
|
||||||
//! <b>Returns</b>: An iterator which refers to the copy of the first
|
|
||||||
//! inserted character, or p if first == last.
|
|
||||||
template <class InputIter>
|
template <class InputIter>
|
||||||
void insert(const_iterator p, InputIter first, InputIter last)
|
void insert(const_iterator p, InputIter first, InputIter last)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user