We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return
template<class K> pair<iterator, bool> insert(K&& x); template<class K> iterator insert(const_iterator hint, K&& x);
Part of the effects of these overloads specify:
inserts a new element as if by: return emplace(std::forward<K>(x));.
return emplace(std::forward<K>(x));
These are the problems with it, first described at #5696 (comment):
The text was updated successfully, but these errors were encountered:
jensmaurer
Successfully merging a pull request may close this issue.
Part of the effects of these overloads specify:
These are the problems with it, first described at #5696 (comment):
return
has nothing to do with how the new element is inserted.return
can't work with the first overload.The text was updated successfully, but these errors were encountered: