We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e16c5f commit a72f12dCopy full SHA for a72f12d
memory.html
@@ -1794,11 +1794,11 @@ <h1>Class template <code>observer_ptr</code> overview</h1>
1794
inline namespace fundamentals_v2 {
1795
1796
template <class W> class observer_ptr {
1797
+ using pointer = add_pointer_t<W>; <i>// exposition-only</i>
1798
+ using reference = add_lvalue_reference_t<W>; <i>// exposition-only</i>
1799
public:
1800
// publish our template parameter and variations thereof
1801
using element_type = W;
- using pointer = add_pointer_t<W>; <i>// exposition-only</i>
- using reference = add_lvalue_reference_t<W>; <i>// exposition-only</i>
1802
1803
<cxx-ref insynopsis to="memory.observer.ptr.ctor"></cxx-ref>
1804
// default c’tor
0 commit comments