|
10848 | 10848 | constexpr const_reverse_iterator crbegin() const noexcept;
|
10849 | 10849 | constexpr const_reverse_iterator crend() const noexcept;
|
10850 | 10850 |
|
10851 |
| - // \ref{inplace.vector.capacity}, size/capacity |
| 10851 | + // \ref{inplace.vector.capacity}, capacity |
10852 | 10852 | constexpr bool empty() const noexcept;
|
10853 | 10853 | constexpr size_type size() const noexcept;
|
10854 | 10854 | static constexpr size_type max_size() noexcept;
|
|
10998 | 10998 | Linear in \tcode{ranges::distance(rg)}.
|
10999 | 10999 | \end{itemdescr}
|
11000 | 11000 |
|
11001 |
| -\rSec3[inplace.vector.capacity]{Size and capacity} |
| 11001 | +\rSec3[inplace.vector.capacity]{Capacity} |
11002 | 11002 |
|
11003 | 11003 | \indexlibrarymember{capacity}{inplace_vector}%
|
11004 | 11004 | \indexlibrarymember{max_size}{inplace_vector}%
|
|
11059 | 11059 | If an exception is thrown, there are no effects on \tcode{*this}.
|
11060 | 11060 | \end{itemdescr}
|
11061 | 11061 |
|
| 11062 | +\indexlibrarymember{reserve}{inplace_vector}% |
| 11063 | +\begin{itemdecl} |
| 11064 | +static constexpr void reserve(size_type n); |
| 11065 | +\end{itemdecl} |
| 11066 | + |
| 11067 | +\begin{itemdescr} |
| 11068 | +\pnum |
| 11069 | +\effects |
| 11070 | +None. |
| 11071 | + |
| 11072 | +\pnum |
| 11073 | +\throws |
| 11074 | +\tcode{bad_alloc} if \tcode{n > capacity()} is \tcode{true}. |
| 11075 | +\end{itemdescr} |
| 11076 | + |
| 11077 | +\indexlibrarymember{shrink_to_fit}{inplace_vector}% |
| 11078 | +\begin{itemdecl} |
| 11079 | +static constexpr void shrink_to_fit() noexcept; |
| 11080 | +\end{itemdecl} |
| 11081 | + |
| 11082 | +\begin{itemdescr} |
| 11083 | +\pnum |
| 11084 | +\effects |
| 11085 | +None. |
| 11086 | +\end{itemdescr} |
| 11087 | + |
11062 | 11088 | \rSec3[inplace.vector.data]{Data}
|
11063 | 11089 |
|
11064 | 11090 | \indexlibrarymember{data}{inplace_vector}%
|
|
11276 | 11302 | \tcode{return *try_push_back(std::forward<decltype(x)>(x));}
|
11277 | 11303 | \end{itemdescr}
|
11278 | 11304 |
|
11279 |
| -\indexlibrarymember{reserve}{inplace_vector}% |
11280 |
| -\begin{itemdecl} |
11281 |
| -static constexpr void reserve(size_type n); |
11282 |
| -\end{itemdecl} |
11283 |
| - |
11284 |
| -\begin{itemdescr} |
11285 |
| -\pnum |
11286 |
| -\effects |
11287 |
| -None. |
11288 |
| - |
11289 |
| -\pnum |
11290 |
| -\throws |
11291 |
| -\tcode{bad_alloc} if \tcode{n > capacity()} is \tcode{true}. |
11292 |
| -\end{itemdescr} |
11293 |
| - |
11294 |
| -\indexlibrarymember{shrink_to_fit}{inplace_vector}% |
11295 |
| -\begin{itemdecl} |
11296 |
| -static constexpr void shrink_to_fit() noexcept; |
11297 |
| -\end{itemdecl} |
11298 |
| - |
11299 |
| -\begin{itemdescr} |
11300 |
| -\pnum |
11301 |
| -\effects |
11302 |
| -None. |
11303 |
| -\end{itemdescr} |
11304 |
| - |
11305 | 11305 | \indexlibrarymember{erase}{inplace_vector}%
|
11306 | 11306 | \indexlibrarymember{pop_back}{inplace_vector}%
|
11307 | 11307 | \begin{itemdecl}
|
|
0 commit comments