| 1281 | |
| 1282 | template <class _Tp> |
| 1283 | inline weak_ptr<_Tp>::weak_ptr(weak_ptr const& __r) _NOEXCEPT : __ptr_(__r.__ptr_), __cntrl_(__r.__cntrl_) { |
| 1284 | if (__cntrl_) |
| 1285 | __cntrl_->__add_weak(); |
| 1286 | } |
| 1287 | |
| 1288 | template <class _Tp> |
| 1289 | template <class _Yp, __enable_if_t<__compatible_with<_Yp, _Tp>::value, int> > |
nothing calls this directly
no test coverage detected