We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f15aba1 commit f2ee7a9Copy full SHA for f2ee7a9
libcxx/include/__flat_map/flat_map.h
@@ -600,8 +600,7 @@ class flat_map {
600
601
// [flat.map.modifiers], modifiers
602
template <class... _Args>
603
- requires is_constructible_v<pair<key_type, mapped_type>, _Args...> && is_move_constructible_v<key_type> &&
604
- is_move_constructible_v<mapped_type>
+ requires is_constructible_v<pair<key_type, mapped_type>, _Args...>
605
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> emplace(_Args&&... __args) {
606
std::pair<key_type, mapped_type> __pair(std::forward<_Args>(__args)...);
607
return __try_emplace(std::move(__pair.first), std::move(__pair.second));
0 commit comments