Boost logo

Boost :

From: Kevlin Henney (kevlin_at_[hidden])
Date: 2000-11-23 02:15:27


In message <011901c054d7$6bcd1c80$37781990_at_[hidden]>, Greg Colvin
<gcolvin_at_[hidden]> writes
>For that matter, I'm thinking callbacks might be useful to
>let a shared_ptr notify others of its object's immanent
>demise.

This sounds like something that could be built on rather than into
shared_ptr. Sounds like a great idea, and in some ways related to the
weak pointer concept. The difference being that one is push, ie callback
based, and the other is pull, ie poll based.

Kevlin
____________________________________________________________

  Kevlin Henney phone: +44 117 942 2990
  Curbralan Limited mobile: +44 7801 073 508
  mailto:kevlin_at_[hidden] fax: +44 870 052 2289
  http://www.curbralan.com
____________________________________________________________


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk