Lines 191-196
Link Here
|
191 |
// Create SharedPointer object with the default constructor |
191 |
// Create SharedPointer object with the default constructor |
192 |
constexpr SharedPointer() : SharedPointerBase() {}; |
192 |
constexpr SharedPointer() : SharedPointerBase() {}; |
193 |
|
193 |
|
|
|
194 |
SharedPointer(const SharedPointer<T> &right) = default; |
195 |
|
194 |
// Copy conversion constructor. Creates a new object if you can cast from type U to type T. |
196 |
// Copy conversion constructor. Creates a new object if you can cast from type U to type T. |
195 |
template <typename U, typename = typename Platform::EnableIf<Platform::IsConvertible<U*, T*>::Value>::Type> |
197 |
template <typename U, typename = typename Platform::EnableIf<Platform::IsConvertible<U*, T*>::Value>::Type> |
196 |
SharedPointer(const SharedPointer<U> &right) |
198 |
SharedPointer(const SharedPointer<U> &right) |