Skip to content

Commit 34ed8e0

Browse files
committed
Merge pull request cplusplus#55 from jwakely/issue-52
[iterator.ostream.joiner.cons] Use addressof.
2 parents 3e7ade6 + e09928f commit 34ed8e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iterator.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><code>ostream_joiner</code> constructor</h1>
7676
<cxx-signature>ostream_joiner(ostream_type&amp; s, const DelimT&amp; delimiter);</cxx-signature>
7777

7878
<cxx-effects>
79-
Initializes <code>out_stream</code> with <code>&amp;s</code>,
79+
Initializes <code>out_stream</code> with <code>std::addressof(s)</code>,
8080
<code>delim</code> with <code>delimiter</code>,
8181
and <code>first_element</code> with <code>true</code>.
8282
</cxx-effects>
@@ -86,7 +86,7 @@ <h1><code>ostream_joiner</code> constructor</h1>
8686
<cxx-signature>ostream_joiner(ostream_type&amp; s, DelimT&amp;&amp; delimiter);</cxx-signature>
8787

8888
<cxx-effects>
89-
Initializes <code>out_stream</code> with <code>&amp;s</code>,
89+
Initializes <code>out_stream</code> with <code>std::addressof(s)</code>,
9090
<code>delim</code> with <code>move(delimiter)</code>,
9191
and <code>first_element</code> with <code>true</code>.
9292
</cxx-effects>

0 commit comments

Comments
 (0)