I find surprising that people that use std::weak_ptr
do not find it useful to bind onDelete
handlers to their references. I've been looking around in boost
but I haven't found anything like this.
Am I missing something? Is a "bad smell" to rely on something like this? or for some reason it is too niche to be generally useful?