mirror of
https://github.com/boostorg/range.git
synced 2025-07-29 04:17:39 +02:00
added algorithm_ext insert algorithm for containers without a where iterator.
This commit is contained in:
@ -11,10 +11,18 @@
|
||||
template<
|
||||
class Container,
|
||||
class SinglePassRange
|
||||
>
|
||||
>
|
||||
Container& insert(Container& target,
|
||||
typename Container::iterator before,
|
||||
const SinglePassRange& from);
|
||||
|
||||
// This overload is for target containers that do not require an insertion
|
||||
// position e.g. set/map
|
||||
template<
|
||||
class Container,
|
||||
class SinglePassRange
|
||||
>
|
||||
Container& insert(Container& target, const SinglePassRange& from);
|
||||
``
|
||||
|
||||
[heading Description]
|
||||
|
Reference in New Issue
Block a user