Skip to content

[containers] Fix typos #1037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 18, 2016
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
12 changes: 6 additions & 6 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
\tcode{end()}
returns an iterator which is the past-the-end value for the container.
If the container is empty, then
\tcode{begin() == end()};
\tcode{begin() == end()}.

\pnum
In the expressions
Expand Down Expand Up @@ -989,7 +989,7 @@
\begin{codeblock}
template <class InputIterator>
X(InputIterator first, InputIterator last,
const allocator_type& alloc = allocator_type())
const allocator_type& alloc = allocator_type());
\end{codeblock}

is called with a type \tcode{InputIterator} that does not qualify as an input
Expand Down Expand Up @@ -1979,17 +1979,17 @@
\tcode{i}
to
\tcode{j}
is positive,
is positive, the following condition holds:

\begin{codeblock}
value_comp(*j, *i) == false
\end{codeblock}

\pnum
For associative containers with unique keys the stronger condition holds,
For associative containers with unique keys the stronger condition holds:

\begin{codeblock}
value_comp(*i, *j) != false.
value_comp(*i, *j) != false
\end{codeblock}

\pnum
Expand Down Expand Up @@ -2398,7 +2398,7 @@
and \tcode{CopyAssignable}.\br
\effects\ Assigns the range \range{il.begin()}{il.end()} into \tcode{a}. All
existing elements of \tcode{a} are either assigned to or destroyed.
& Same as \tcode{a = X(il).}
& Same as \tcode{a = X(il)}.
\\ \rowsep
%
\tcode{b.hash_function()}
Expand Down