Skip to content

Commit 9dbbf9c

Browse files
JohelEGPtkoeppe
authored andcommitted
[unord.req, fs.path.io] Fix "Effects: Equivalent to" styles (#1806)
1 parent 742f04d commit 9dbbf9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/containers.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2509,7 +2509,7 @@
25092509
& \requires\ If \tcode{t} is a non-const rvalue expression, \tcode{value_type} shall be
25102510
\tcode{MoveInsertable} into \tcode{X}; otherwise, \tcode{value_type} shall be
25112511
\tcode{CopyInsertable} into \tcode{X}.\br
2512-
\effects\ Equivalent to a.insert(t). Return value is an iterator pointing
2512+
\effects Equivalent to \tcode{a.insert(t)}. Return value is an iterator pointing
25132513
to the element with the key equivalent to that of \tcode{t}. The
25142514
iterator \tcode{p} is a hint pointing to where the search should
25152515
start. Implementations are permitted to ignore the hint.%
@@ -2521,8 +2521,8 @@
25212521
\tcode{a.insert(i, j)}
25222522
& \tcode{void}
25232523
& \requires\ \tcode{value_type} shall be \tcode{EmplaceConstructible} into \tcode{X} from \tcode{*i}.\br
2524-
\requires \tcode{i} and \tcode{j} are not iterators in \tcode{a}.
2525-
Equivalent to \tcode{a.insert(t)} for each element in \tcode{[i,j)}.%
2524+
\requires \tcode{i} and \tcode{j} are not iterators in \tcode{a}.\br
2525+
\effects Equivalent to \tcode{a.insert(t)} for each element in \tcode{[i,j)}.%
25262526
\indextext{unordered associative containers!\idxcode{insert}}%
25272527
\indextext{\idxcode{insert}!unordered associative containers}%
25282528
& Average case \bigoh{N}, where $N$ is \tcode{distance(i, j)}.

source/iostreams.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12702,7 +12702,7 @@
1270212702

1270312703
\begin{itemdescr}
1270412704
\pnum
12705-
\effects Equivalent to: \tcode{os << quoted(p.string<charT, traits>());}
12705+
\effects Equivalent to \tcode{os << quoted(p.string<charT, traits>())}.
1270612706
\begin{note} The \tcode{quoted} function is described in~\ref{quoted.manip}. \end{note}
1270712707

1270812708
\pnum

0 commit comments

Comments
 (0)