Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions stl/inc/memory
Original file line number Diff line number Diff line change
Expand Up @@ -3172,6 +3172,8 @@ public:
return *this;
}

// The Standard depicts these constructors that accept pointer as taking type_identity_t<pointer> to inhibit CTAD.
// Since pointer is an opaque type alias in our implementation, it inhibits CTAD without extra decoration.
template <class _Dx2 = _Dx, _Unique_ptr_enable_default_t<_Dx2> = 0>
explicit unique_ptr(pointer _Ptr) noexcept : _Mypair(_Zero_then_variadic_args_t{}, _Ptr) {}

Expand Down