Created on 2007-12-04.00:00:00 last changed 157 months ago
Proposed resolution:
Rename one of the two overloads. For example to emplace_here, hint_emplace...
[ Bellevue: ]
This can be disambiguated by passing "begin" as the first argument in the case when the non-default choice is desired. We believe that desire will be rare.
[ Related to 767 ]
The associative containers provide 2 overloads of emplace():
template <class... Args> pair<iterator, bool> emplace(Args&&... args); template <class... Args> iterator emplace(const_iterator position, Args&&... args);
This is a problem if you mean the first overload while passing a const_iterator as first argument.
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-12-08 20:03:41 | admin | set | messages: + msg5956 |
2010-10-21 18:28:33 | admin | set | messages: + msg3693 |
2010-10-21 18:28:33 | admin | set | messages: + msg3692 |
2010-10-21 18:28:33 | admin | set | messages: + msg3691 |
2007-12-04 00:00:00 | admin | create |