File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -596,7 +596,8 @@ class flat_map {
596596
597597 // [flat.map.modifiers], modifiers
598598 template <class ... _Args>
599- requires is_constructible_v<pair<key_type, mapped_type>, _Args...>
599+ requires is_constructible_v<pair<key_type, mapped_type>, _Args...> && is_move_constructible_v<key_type> &&
600+ is_move_constructible_v<mapped_type>
600601 _LIBCPP_HIDE_FROM_ABI pair<iterator, bool > emplace (_Args&&... __args) {
601602 std::pair<key_type, mapped_type> __pair (std::forward<_Args>(__args)...);
602603 return __try_emplace (std::move (__pair.first ), std::move (__pair.second ));
Original file line number Diff line number Diff line change @@ -53,9 +53,6 @@ module;
5353# if __has_include(<debugging>)
5454# error "please update the header information for <debugging> in headers_not_available in utils/libcxx/header_information.py"
5555# endif // __has_include(<debugging>)
56- # if __has_include(<flat_map>)
57- # error "please update the header information for <flat_map> in headers_not_available in utils/libcxx/header_information.py"
58- # endif // __has_include(<flat_map>)
5956# if __has_include(<flat_set>)
6057# error "please update the header information for <flat_set> in headers_not_available in utils/libcxx/header_information.py"
6158# endif // __has_include(<flat_set>)
Original file line number Diff line number Diff line change @@ -162,9 +162,6 @@ module;
162162# if __has_include(<debugging>)
163163# error "please update the header information for <debugging> in headers_not_available in utils/libcxx/header_information.py"
164164# endif // __has_include(<debugging>)
165- # if __has_include(<flat_map>)
166- # error "please update the header information for <flat_map> in headers_not_available in utils/libcxx/header_information.py"
167- # endif // __has_include(<flat_map>)
168165# if __has_include(<flat_set>)
169166# error "please update the header information for <flat_set> in headers_not_available in utils/libcxx/header_information.py"
170167# endif // __has_include(<flat_set>)
You can’t perform that action at this time.
0 commit comments