Boost logo

Boost Users :

Subject: [Boost-users] weak_from_this
From: Hite, Christopher (Christopher.Hite_at_[hidden])
Date: 2010-08-10 09:48:32

shared_from_this contains a weak_ptr. Why not implement a
weak_from_this() member function?

Upgrading and downgrading a shared_ptr costs expensive atomic ops. I've
got some setup code that just gives weak_ptr's to

Is this a valid (and simple) feature request?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at