forked from boostorg/range
added algorithm_ext insert algorithm for containers without a where iterator.
This commit is contained in:
1 parent
7cd8b9ec24
commit
343e74b8e3
2 files changed
+17
-3
No files matched your search
@@ -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