Skip to content

Commit 6cda0a0

Browse files
committed
Apply LWG2410 from N4383 per LWG Motion 3 at the 2015-05 Lenexa meeting.
http://wiki.edg.com/twiki/bin/view/Wg21lenexa/StrawPolls
1 parent 800ec42 commit 6cda0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

memory.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ <h1><code>shared_ptr</code> constructors</h1>
410410
<cxx-function>
411411
<cxx-signature>template &lt;class Y, class D> shared_ptr(unique_ptr&lt;Y, D>&& r);</cxx-signature>
412412

413-
<cxx-requires><code>Y*</code> shall be <em>compatible with</em> <code>T*</code>.</cxx-requires>
413+
<cxx-remarks>This constructor shall not participate in overload resolution unless <code>Y*</code> is <em>compatible with</em> <code>T*</code>.</cxx-remarks>
414414

415415
<cxx-effects>Equivalent to <code>shared_ptr(r.release(), r.get_deleter())</code> when <code>D</code> is not a reference type, otherwise <code>shared_ptr(r.release(), ref(r.get_deleter()))</code>.</cxx-effects>
416416

0 commit comments

Comments
 (0)