|
17 | 17 | \ref{variant} & Variants & \tcode{<variant>} \\ \rowsep
|
18 | 18 | \ref{any} & Storage for any type & \tcode{<any>} \\ \rowsep
|
19 | 19 | \ref{bitset} & Fixed-size sequences of bits & \tcode{<bitset>} \\ \rowsep
|
20 |
| -\ref{memory} & Memory & |
21 |
| - \tcode{<cstdlib>}, \tcode{<memory>} \\ \rowsep |
| 20 | +\ref{memory} & Memory & \tcode{<cstdlib>}, \tcode{<memory>} \\ \rowsep |
22 | 21 | \ref{smartptr} & Smart pointers & \tcode{<memory>} \\ \rowsep
|
23 | 22 | \ref{mem.res} & Memory resources & \tcode{<memory_resource>} \\ \rowsep
|
24 | 23 | \ref{allocator.adaptor} & Scoped allocators & \tcode{<scoped_allocator>} \\ \rowsep
|
|
2415 | 2414 | template<class T, class U>
|
2416 | 2415 | constexpr bool operator>=(const optional<T>&, const optional<U>&);
|
2417 | 2416 | template<class T, @\libconcept{three_way_comparable_with}@<T> U>
|
2418 |
| - constexpr compare_three_way_result_t<T,U> |
| 2417 | + constexpr compare_three_way_result_t<T, U> |
2419 | 2418 | operator<=>(const optional<T>&, const optional<U>&);
|
2420 | 2419 |
|
2421 | 2420 | // \ref{optional.nullops}, comparison with \tcode{nullopt}
|
|
2437 | 2436 | template<class T, class U> constexpr bool operator>=(const optional<T>&, const U&);
|
2438 | 2437 | template<class T, class U> constexpr bool operator>=(const T&, const optional<U>&);
|
2439 | 2438 | template<class T, @\libconcept{three_way_comparable_with}@<T> U>
|
2440 |
| - constexpr compare_three_way_result_t<T,U> |
| 2439 | + constexpr compare_three_way_result_t<T, U> |
2441 | 2440 | operator<=>(const optional<T>&, const U&);
|
2442 | 2441 |
|
2443 | 2442 | // \ref{optional.specalg}, specialized algorithms
|
|
3594 | 3593 | \indexlibrarymember{operator<=>}{optional}%
|
3595 | 3594 | \begin{itemdecl}
|
3596 | 3595 | template<class T, @\libconcept{three_way_comparable_with}@<T> U>
|
3597 |
| - constexpr compare_three_way_result_t<T,U> |
| 3596 | + constexpr compare_three_way_result_t<T, U> |
3598 | 3597 | operator<=>(const optional<T>& x, const optional<U>& y);
|
3599 | 3598 | \end{itemdecl}
|
3600 | 3599 |
|
|
3834 | 3833 | \indexlibrarymember{operator<=>}{optional}%
|
3835 | 3834 | \begin{itemdecl}
|
3836 | 3835 | template<class T, @\libconcept{three_way_comparable_with}@<T> U>
|
3837 |
| - constexpr compare_three_way_result_t<T,U> |
| 3836 | + constexpr compare_three_way_result_t<T, U> |
3838 | 3837 | operator<=>(const optional<T>& x, const U& v);
|
3839 | 3838 | \end{itemdecl}
|
3840 | 3839 |
|
|
6888 | 6887 | U&& u, V&& v) noexcept;
|
6889 | 6888 | template<class T, class Alloc, class U, class V>
|
6890 | 6889 | constexpr auto uses_allocator_construction_args(const Alloc& alloc,
|
6891 |
| - const pair<U,V>& pr) noexcept; |
| 6890 | + const pair<U, V>& pr) noexcept; |
6892 | 6891 | template<class T, class Alloc, class U, class V>
|
6893 | 6892 | constexpr auto uses_allocator_construction_args(const Alloc& alloc,
|
6894 |
| - pair<U,V>&& pr) noexcept; |
| 6893 | + pair<U, V>&& pr) noexcept; |
6895 | 6894 | template<class T, class Alloc, class... Args>
|
6896 | 6895 | constexpr T make_obj_using_allocator(const Alloc& alloc, Args&&... args);
|
6897 | 6896 | template<class T, class Alloc, class... Args>
|
|
7784 | 7783 | \begin{itemdecl}
|
7785 | 7784 | template<class T, class Alloc, class U, class V>
|
7786 | 7785 | constexpr auto uses_allocator_construction_args(const Alloc& alloc,
|
7787 |
| - const pair<U,V>& pr) noexcept; |
| 7786 | + const pair<U, V>& pr) noexcept; |
7788 | 7787 | \end{itemdecl}
|
7789 | 7788 |
|
7790 | 7789 | \begin{itemdescr}
|
|
7806 | 7805 | \begin{itemdecl}
|
7807 | 7806 | template<class T, class Alloc, class U, class V>
|
7808 | 7807 | constexpr auto uses_allocator_construction_args(const Alloc& alloc,
|
7809 |
| - pair<U,V>&& pr) noexcept; |
| 7808 | + pair<U, V>&& pr) noexcept; |
7810 | 7809 | \end{itemdecl}
|
7811 | 7810 |
|
7812 | 7811 | \begin{itemdescr}
|
|
11424 | 11423 |
|
11425 | 11424 | \begin{itemdescr}
|
11426 | 11425 | \pnum
|
11427 |
| -Letting \tcode{UP} be \tcode{unique_ptr<T,D>}, |
| 11426 | +Letting \tcode{UP} be \tcode{unique_ptr<T, D>}, |
11428 | 11427 | the specialization \tcode{hash<UP>} is enabled\iref{unord.hash}
|
11429 | 11428 | if and only if \tcode{hash<typename UP::pointer>} is enabled.
|
11430 | 11429 | When enabled, for an object \tcode{p} of type \tcode{UP},
|
|
0 commit comments