This patch fixes issue 2874 by constraining the constructor shared_ptr(Y*) . Keep in mind the type trait must be supported in C++03 (believe me; it used to look worse).
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D62921
Constrain shared_ptr(Y*) - 2874 AbandonedPublic Authored by zoecarver on Jun 5 2019, 11:01 AM.
Details
Summary This patch fixes issue 2874 by constraining the constructor shared_ptr(Y*) . Keep in mind the type trait must be supported in C++03 (believe me; it used to look worse).
Diff Detail
Revision Contents
Diff 203207 include/memory
include/type_traits
test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer.pass.cpp
|