diff --git a/libcxx/include/deque b/libcxx/include/deque --- a/libcxx/include/deque +++ b/libcxx/include/deque @@ -2920,11 +2920,9 @@ #else // _LIBCPP_STD_VER <= 17 -template -inline _LIBCPP_HIDE_FROM_ABI -__synth_three_way_result<_Tp> -operator<=>(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y) -{ +template +_LIBCPP_HIDE_FROM_ABI __synth_three_way_result<_Tp> +operator<=>(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y) { return std::lexicographical_compare_three_way( __x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way<_Tp, _Tp>); } diff --git a/libcxx/include/forward_list b/libcxx/include/forward_list --- a/libcxx/include/forward_list +++ b/libcxx/include/forward_list @@ -1774,12 +1774,9 @@ #else // #if _LIBCPP_STD_VER <= 17 -template -inline _LIBCPP_HIDE_FROM_ABI -__synth_three_way_result<_Tp> -operator<=>(const forward_list<_Tp, _Allocator>& __x, - const forward_list<_Tp, _Allocator>& __y) -{ +template +_LIBCPP_HIDE_FROM_ABI __synth_three_way_result<_Tp> +operator<=>(const forward_list<_Tp, _Allocator>& __x, const forward_list<_Tp, _Allocator>& __y) { return std::lexicographical_compare_three_way( __x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way<_Tp, _Tp>); } diff --git a/libcxx/include/list b/libcxx/include/list --- a/libcxx/include/list +++ b/libcxx/include/list @@ -2345,11 +2345,9 @@ #else // _LIBCPP_STD_VER <= 17 -template -inline _LIBCPP_HIDE_FROM_ABI -__synth_three_way_result<_Tp> -operator<=>(const list<_Tp, _Allocator>& __x, const list<_Tp, _Allocator>& __y) -{ +template +_LIBCPP_HIDE_FROM_ABI __synth_three_way_result<_Tp> +operator<=>(const list<_Tp, _Allocator>& __x, const list<_Tp, _Allocator>& __y) { return std::lexicographical_compare_three_way( __x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way<_Tp, _Tp>); } diff --git a/libcxx/include/map b/libcxx/include/map --- a/libcxx/include/map +++ b/libcxx/include/map @@ -1737,12 +1737,9 @@ #else // #if _LIBCPP_STD_VER <= 17 -template -inline _LIBCPP_HIDE_FROM_ABI -__synth_three_way_result> -operator<=>(const map<_Key, _Tp, _Compare, _Allocator>& __x, - const map<_Key, _Tp, _Compare, _Allocator>& __y) -{ +template +_LIBCPP_HIDE_FROM_ABI __synth_three_way_result> +operator<=>(const map<_Key, _Tp, _Compare, _Allocator>& __x, const map<_Key, _Tp, _Compare, _Allocator>& __y) { return std::lexicographical_compare_three_way( __x.begin(), __x.end(), @@ -2351,12 +2348,10 @@ #else // #if _LIBCPP_STD_VER <= 17 -template -inline _LIBCPP_HIDE_FROM_ABI -__synth_three_way_result> +template +_LIBCPP_HIDE_FROM_ABI __synth_three_way_result> operator<=>(const multimap<_Key, _Tp, _Compare, _Allocator>& __x, - const multimap<_Key, _Tp, _Compare, _Allocator>& __y) -{ + const multimap<_Key, _Tp, _Compare, _Allocator>& __y) { return std::lexicographical_compare_three_way( __x.begin(), __x.end(),