WeakPtrFromTypeParameter

WeakPtrFromTypeParameter struct

Trait struct to convert argument type to a weak-pointer, if it is a pointer type.

template<class T>class WeakPtrFromTypeParameter : public std::conditional<IsSmartPtr<T>::value, WeakPtr<RemoveShared<T>::type>, T>

See Also