We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unique_ptr
1 parent 5b5634f commit fbc92afCopy full SHA for fbc92af
stl/inc/memory
@@ -3172,6 +3172,8 @@ public:
3172
return *this;
3173
}
3174
3175
+ // The Standard depicts these constructors that accept pointer as taking type_identity_t<pointer> to inhibit CTAD.
3176
+ // Since pointer is an opaque type alias in our implementation, it inhibits CTAD without extra decoration.
3177
template <class _Dx2 = _Dx, _Unique_ptr_enable_default_t<_Dx2> = 0>
3178
explicit unique_ptr(pointer _Ptr) noexcept : _Mypair(_Zero_then_variadic_args_t{}, _Ptr) {}
3179
0 commit comments