diff --git a/source/containers.tex b/source/containers.tex index a415351613..7a30e1c9d4 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -2403,7 +2403,7 @@ noexcept(ator_traits::propagate_on_container_swap::value || ator_traits::is_always_equal::value); - constexpr friend void swap(@\placeholdernc{node-handle}@& x, @\placeholdernc{node-handle}@& y) noexcept(noexcept(x.swap(y))) { + friend constexpr void swap(@\placeholdernc{node-handle}@& x, @\placeholdernc{node-handle}@& y) noexcept(noexcept(x.swap(y))) { x.swap(y); } }; @@ -10913,11 +10913,11 @@ is_nothrow_move_constructible_v)); constexpr void clear() noexcept; - constexpr friend bool operator==(const inplace_vector& x, + friend constexpr bool operator==(const inplace_vector& x, const inplace_vector& y); - constexpr friend @\exposid{synth-three-way-result}@ + friend constexpr @\exposid{synth-three-way-result}@ operator<=>(const inplace_vector& x, const inplace_vector& y); - constexpr friend void swap(inplace_vector& x, inplace_vector& y) + friend constexpr void swap(inplace_vector& x, inplace_vector& y) noexcept(N == 0 || (is_nothrow_swappable_v && is_nothrow_move_constructible_v)) { x.swap(y); } @@ -17330,12 +17330,12 @@ template constexpr pair equal_range(const K& x) const; - constexpr friend bool operator==(const flat_map& x, const flat_map& y); + friend constexpr bool operator==(const flat_map& x, const flat_map& y); - constexpr friend @\exposid{synth-three-way-result}@ + friend constexpr @\exposid{synth-three-way-result}@ operator<=>(const flat_map& x, const flat_map& y); - constexpr friend void swap(flat_map& x, flat_map& y) noexcept + friend constexpr void swap(flat_map& x, flat_map& y) noexcept { x.swap(y); } private: @@ -18494,12 +18494,12 @@ template constexpr pair equal_range(const K& x) const; - constexpr friend bool operator==(const flat_multimap& x, const flat_multimap& y); + friend constexpr bool operator==(const flat_multimap& x, const flat_multimap& y); - constexpr friend @\exposid{synth-three-way-result}@ + friend constexpr @\exposid{synth-three-way-result}@ operator<=>(const flat_multimap& x, const flat_multimap& y); - constexpr friend void swap(flat_multimap& x, flat_multimap& y) noexcept + friend constexpr void swap(flat_multimap& x, flat_multimap& y) noexcept { x.swap(y); } private: @@ -19097,12 +19097,12 @@ template constexpr pair equal_range(const K& x) const; - constexpr friend bool operator==(const flat_set& x, const flat_set& y); + friend constexpr bool operator==(const flat_set& x, const flat_set& y); - constexpr friend @\placeholder{synth-three-way-result}@ + friend constexpr @\placeholder{synth-three-way-result}@ operator<=>(const flat_set& x, const flat_set& y); - constexpr friend void swap(flat_set& x, flat_set& y) noexcept { x.swap(y); } + friend constexpr void swap(flat_set& x, flat_set& y) noexcept { x.swap(y); } private: container_type @\exposidnc{c}@; // \expos @@ -19768,12 +19768,12 @@ template constexpr pair equal_range(const K& x) const; - constexpr friend bool operator==(const flat_multiset& x, const flat_multiset& y); + friend constexpr bool operator==(const flat_multiset& x, const flat_multiset& y); friend @\placeholder{synth-three-way-result}@ constexpr operator<=>(const flat_multiset& x, const flat_multiset& y); - constexpr friend void swap(flat_multiset& x, flat_multiset& y) noexcept + friend constexpr void swap(flat_multiset& x, flat_multiset& y) noexcept { x.swap(y); } private: