Ticket #7232 (closed Bugs: fixed)
boost::container::basic_string::insert's implementation is inconsistent with a document
|Reported by:||kariya_mitsuru@…||Owned by:||igaztanaga|
|Milestone:||To Be Determined||Component:||container|
In boost::container::basic_string::insert, the function prototype is
void insert(const_iterator p, size_type n, CharT c);
but the document has a return value description
Returns: An iterator which refers to the copy of the first inserted character, or p if n == 0.
template<typename InputIter> void insert(const_iterator p, InputIter first, InputIter last);
Returns: An iterator which refers to the copy of the first inserted character, or p if first == last.
I think these functions should return an iterator written in the document, like c++11.
- Status changed from new to closed
- Resolution set to fixed
- Status changed from closed to reopened
- Resolution fixed deleted