$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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