Skip to content

Commit f2ee7a9

Browse files
committed
review comments
1 parent f15aba1 commit f2ee7a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libcxx/include/__flat_map/flat_map.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,7 @@ class flat_map {
600600

601601
// [flat.map.modifiers], modifiers
602602
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>
603+
requires is_constructible_v<pair<key_type, mapped_type>, _Args...>
605604
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> emplace(_Args&&... __args) {
606605
std::pair<key_type, mapped_type> __pair(std::forward<_Args>(__args)...);
607606
return __try_emplace(std::move(__pair.first), std::move(__pair.second));

0 commit comments

Comments
 (0)