Код: Выделить всё
template
class __uniq_ptr_impl
{
template
struct _Ptr
{
using type = _Up*;
};
template
struct
_Ptr
{
using type = typename remove_reference::type::pointer;
};
public:
using _DeleterConstraint = enable_if<
__and_::value>;
using pointer = typename _Ptr::type;
//omit code below ...
}
Подробнее здесь: https://stackoverflow.com/questions/784 ... -dptype-fo
Мобильная версия