Boost logo

Boost Users :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-03-24 11:30:40


Denis G. Priyomov wrote:

>Wouldn't it be nice to extend shared_ptr to support transaction-like
>semantics? Or is it possible already?
>Sometimes it's needed to execute code on exit only until we haven't reached
>some point (of "no return"):
>
>
This really is an abuse of shared_ptr. Search this list and the
developer list for "scope guard", there was some interesting discussion
a few weeks ago.

Sebastian Redl


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net