Branch Coverage

/usr/include/c++/5/bits/shared_ptr_base.h
Criterion Covered Total %
branch 0 26 0.0


line true false branch
117 0 0 { }
127 0 0 { delete this; }
147 0 0 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, -1) == 1)
163 0 0 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_weak_count,
522 0 0 allocator_traits<_Alloc>::construct(__a, _M_ptr(),
526 0 0 ~_Sp_counted_ptr_inplace() noexcept { }
548 0 0 if (__ti == typeid(_Sp_make_shared_tag))
615 0 0 auto __guard = std::__allocate_guarded(__a2);
616 0 0 _Sp_cp_type* __mem = __guard.get();
617 0 0 ::new (__mem) _Sp_cp_type(std::move(__a),
0 0 ::new (__mem) _Sp_cp_type(std::move(__a),
658 0 0 if (_M_pi != nullptr)
702 0 0 { return _M_pi ? _M_pi->_M_get_deleter(__ti) : nullptr; }