Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9638,7 +9638,7 @@
constexpr const_reverse_iterator crbegin() const noexcept;
constexpr const_reverse_iterator crend() const noexcept;

// \ref{inplace.vector.capacity}, size/capacity
// \ref{inplace.vector.capacity}, capacity
constexpr bool empty() const noexcept;
constexpr size_type size() const noexcept;
static constexpr size_type max_size() noexcept;
Expand Down Expand Up @@ -9788,7 +9788,7 @@
Linear in \tcode{ranges::distance(rg)}.
\end{itemdescr}

\rSec3[inplace.vector.capacity]{Size and capacity}
\rSec3[inplace.vector.capacity]{Capacity}

\indexlibrarymember{capacity}{inplace_vector}%
\indexlibrarymember{max_size}{inplace_vector}%
Expand Down Expand Up @@ -9849,6 +9849,32 @@
If an exception is thrown, there are no effects on \tcode{*this}.
\end{itemdescr}

\indexlibrarymember{reserve}{inplace_vector}%
\begin{itemdecl}
static constexpr void reserve(size_type n);
\end{itemdecl}

\begin{itemdescr}
\pnum
\effects
None.

\pnum
\throws
\tcode{bad_alloc} if \tcode{n > capacity()} is \tcode{true}.
\end{itemdescr}

\indexlibrarymember{shrink_to_fit}{inplace_vector}%
\begin{itemdecl}
static constexpr void shrink_to_fit() noexcept;
\end{itemdecl}

\begin{itemdescr}
\pnum
\effects
None.
\end{itemdescr}

\rSec3[inplace.vector.data]{Data}

\indexlibrarymember{data}{inplace_vector}%
Expand Down Expand Up @@ -10066,32 +10092,6 @@
\tcode{return *try_push_back(std::forward<decltype(x)>(x));}
\end{itemdescr}

\indexlibrarymember{reserve}{inplace_vector}%
\begin{itemdecl}
static constexpr void reserve(size_type n);
\end{itemdecl}

\begin{itemdescr}
\pnum
\effects
None.

\pnum
\throws
\tcode{bad_alloc} if \tcode{n > capacity()} is \tcode{true}.
\end{itemdescr}

\indexlibrarymember{shrink_to_fit}{inplace_vector}%
\begin{itemdecl}
static constexpr void shrink_to_fit() noexcept;
\end{itemdecl}

\begin{itemdescr}
\pnum
\effects
None.
\end{itemdescr}

\indexlibrarymember{erase}{inplace_vector}%
\indexlibrarymember{pop_back}{inplace_vector}%
\begin{itemdecl}
Expand Down
Loading