![]() When the allocator is only explicitly convertible from other specializations of itself, the new version of std::allocate_shared would not work because it would try to do an implicit conversion. This patch fixes the problem and adds a test so that we don't fall into the same trap in the future. |
||
---|---|---|
.. | ||
util.smartptr.getdeleter | ||
util.smartptr.shared.assign | ||
util.smartptr.shared.cast | ||
util.smartptr.shared.cmp | ||
util.smartptr.shared.const | ||
util.smartptr.shared.create | ||
util.smartptr.shared.dest | ||
util.smartptr.shared.io | ||
util.smartptr.shared.mod | ||
util.smartptr.shared.obs | ||
util.smartptr.shared.spec | ||
types.pass.cpp |