31 Mar
2024
31 Mar
'24
3:31 p.m.
It's funny that SmartPtr is being brought up so much because SmartPtr contains a few key things not found in the STL. First and foremost, intrusive_ptr. I've built an entire I/O runtime using intrusive_ptr as it's more suited for low-level C APIs than the two word smart pointer impls are. For that reason, SmartPtr should never really die or go away or attempt to be replaced. SmartPtr is also the only place you'll find `allocate_unique`. - Christian