Skip to content

Commit 85e1cfc

Browse files
pass deduct.pass.cpp
1 parent 1e86d9c commit 85e1cfc

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

libcxx/include/__tree

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,61 +1044,61 @@ public:
10441044
template <class _First,
10451045
class _Second,
10461046
__enable_if_t<__can_extract_map_key<_First, key_type, __container_value_type>::value, int> = 0>
1047-
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique(_First&& __f, _Second&& __s) {
1047+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 pair<iterator, bool> __emplace_unique(_First&& __f, _Second&& __s) {
10481048
return __emplace_unique_key_args(__f, std::forward<_First>(__f), std::forward<_Second>(__s));
10491049
}
10501050

10511051
template <class... _Args>
1052-
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique(_Args&&... __args) {
1052+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 pair<iterator, bool> __emplace_unique(_Args&&... __args) {
10531053
return __emplace_unique_impl(std::forward<_Args>(__args)...);
10541054
}
10551055

10561056
template <class _Pp>
1057-
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique_extract_key(_Pp&& __x, __extract_key_fail_tag) {
1057+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 pair<iterator, bool> __emplace_unique_extract_key(_Pp&& __x, __extract_key_fail_tag) {
10581058
return __emplace_unique_impl(std::forward<_Pp>(__x));
10591059
}
10601060

10611061
template <class _Pp>
1062-
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique_extract_key(_Pp&& __x, __extract_key_self_tag) {
1062+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 pair<iterator, bool> __emplace_unique_extract_key(_Pp&& __x, __extract_key_self_tag) {
10631063
return __emplace_unique_key_args(__x, std::forward<_Pp>(__x));
10641064
}
10651065

10661066
template <class _Pp>
1067-
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __emplace_unique_extract_key(_Pp&& __x, __extract_key_first_tag) {
1067+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 pair<iterator, bool> __emplace_unique_extract_key(_Pp&& __x, __extract_key_first_tag) {
10681068
return __emplace_unique_key_args(__x.first, std::forward<_Pp>(__x));
10691069
}
10701070

10711071
template <class _Pp>
1072-
_LIBCPP_HIDE_FROM_ABI iterator __emplace_hint_unique(const_iterator __p, _Pp&& __x) {
1072+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __emplace_hint_unique(const_iterator __p, _Pp&& __x) {
10731073
return __emplace_hint_unique_extract_key(__p, std::forward<_Pp>(__x), __can_extract_key<_Pp, key_type>());
10741074
}
10751075

10761076
template <class _First,
10771077
class _Second,
10781078
__enable_if_t<__can_extract_map_key<_First, key_type, __container_value_type>::value, int> = 0>
1079-
_LIBCPP_HIDE_FROM_ABI iterator __emplace_hint_unique(const_iterator __p, _First&& __f, _Second&& __s) {
1079+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __emplace_hint_unique(const_iterator __p, _First&& __f, _Second&& __s) {
10801080
return __emplace_hint_unique_key_args(__p, __f, std::forward<_First>(__f), std::forward<_Second>(__s)).first;
10811081
}
10821082

10831083
template <class... _Args>
1084-
_LIBCPP_HIDE_FROM_ABI iterator __emplace_hint_unique(const_iterator __p, _Args&&... __args) {
1084+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __emplace_hint_unique(const_iterator __p, _Args&&... __args) {
10851085
return __emplace_hint_unique_impl(__p, std::forward<_Args>(__args)...);
10861086
}
10871087

10881088
template <class _Pp>
1089-
_LIBCPP_HIDE_FROM_ABI iterator
1089+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator
10901090
__emplace_hint_unique_extract_key(const_iterator __p, _Pp&& __x, __extract_key_fail_tag) {
10911091
return __emplace_hint_unique_impl(__p, std::forward<_Pp>(__x));
10921092
}
10931093

10941094
template <class _Pp>
1095-
_LIBCPP_HIDE_FROM_ABI iterator
1095+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator
10961096
__emplace_hint_unique_extract_key(const_iterator __p, _Pp&& __x, __extract_key_self_tag) {
10971097
return __emplace_hint_unique_key_args(__p, __x, std::forward<_Pp>(__x)).first;
10981098
}
10991099

11001100
template <class _Pp>
1101-
_LIBCPP_HIDE_FROM_ABI iterator
1101+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator
11021102
__emplace_hint_unique_extract_key(const_iterator __p, _Pp&& __x, __extract_key_first_tag) {
11031103
return __emplace_hint_unique_key_args(__p, __x.first, std::forward<_Pp>(__x)).first;
11041104
}
@@ -1129,29 +1129,29 @@ public:
11291129
return __emplace_hint_unique(__p, std::forward<_Vp>(__v));
11301130
}
11311131

1132-
_LIBCPP_HIDE_FROM_ABI iterator __insert_multi(__container_value_type&& __v) {
1132+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __insert_multi(__container_value_type&& __v) {
11331133
return __emplace_multi(std::move(__v));
11341134
}
11351135

1136-
_LIBCPP_HIDE_FROM_ABI iterator __insert_multi(const_iterator __p, __container_value_type&& __v) {
1136+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __insert_multi(const_iterator __p, __container_value_type&& __v) {
11371137
return __emplace_hint_multi(__p, std::move(__v));
11381138
}
11391139

11401140
template <class _Vp>
1141-
_LIBCPP_HIDE_FROM_ABI iterator __insert_multi(_Vp&& __v) {
1141+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __insert_multi(_Vp&& __v) {
11421142
return __emplace_multi(std::forward<_Vp>(__v));
11431143
}
11441144

11451145
template <class _Vp>
1146-
_LIBCPP_HIDE_FROM_ABI iterator __insert_multi(const_iterator __p, _Vp&& __v) {
1146+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __insert_multi(const_iterator __p, _Vp&& __v) {
11471147
return __emplace_hint_multi(__p, std::forward<_Vp>(__v));
11481148
}
11491149

11501150
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 pair<iterator, bool>
11511151
__node_assign_unique(const __container_value_type& __v, __node_pointer __dest);
11521152

1153-
_LIBCPP_HIDE_FROM_ABI iterator __node_insert_multi(__node_pointer __nd);
1154-
_LIBCPP_HIDE_FROM_ABI iterator __node_insert_multi(const_iterator __p, __node_pointer __nd);
1153+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __node_insert_multi(__node_pointer __nd);
1154+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __node_insert_multi(const_iterator __p, __node_pointer __nd);
11551155

11561156
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __remove_node_pointer(__node_pointer) _NOEXCEPT;
11571157

@@ -1962,7 +1962,7 @@ __tree<_Tp, _Compare, _Allocator>::__node_assign_unique(const __container_value_
19621962
}
19631963

19641964
template <class _Tp, class _Compare, class _Allocator>
1965-
typename __tree<_Tp, _Compare, _Allocator>::iterator
1965+
_LIBCPP_CONSTEXPR_SINCE_CXX26 typename __tree<_Tp, _Compare, _Allocator>::iterator
19661966
__tree<_Tp, _Compare, _Allocator>::__node_insert_multi(__node_pointer __nd) {
19671967
__parent_pointer __parent;
19681968
__node_base_pointer& __child = __find_leaf_high(__parent, _NodeTypes::__get_key(__nd->__value_));
@@ -1971,7 +1971,7 @@ __tree<_Tp, _Compare, _Allocator>::__node_insert_multi(__node_pointer __nd) {
19711971
}
19721972

19731973
template <class _Tp, class _Compare, class _Allocator>
1974-
typename __tree<_Tp, _Compare, _Allocator>::iterator
1974+
_LIBCPP_CONSTEXPR_SINCE_CXX26 typename __tree<_Tp, _Compare, _Allocator>::iterator
19751975
__tree<_Tp, _Compare, _Allocator>::__node_insert_multi(const_iterator __p, __node_pointer __nd) {
19761976
__parent_pointer __parent;
19771977
__node_base_pointer& __child = __find_leaf(__p, __parent, _NodeTypes::__get_key(__nd->__value_));

0 commit comments

Comments
 (0)