local_shared_ptr have no assertions checks if operators "->" or "*" are called
Open
- Dominant language
- C++
- Stars
- 111
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
local_shared_ptr:
```
typename boost::detail::sp_dereference< T >::type operator* () const noexcept
{
return *px;
}
typename boost::detail::sp_member_access< T >::type operator-> () const noexcept
{
return px;
}
```
shared_ptr have `BOOST_ASSERT( px != 0 );` before return.
I think it will be useful.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.