$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2007-03-04 10:48:59
"Robert Ramey" <ramey_at_[hidden]> writes:
> This is not to say that I know for a fact that that an
> exception thrown during construction can in fact create
> a memory leak. To be honest, I never considered that when
> I wrote the code so it might be possible. I would have
> to look into it.
It's almost impossible to make a mistake with that if you follow Peter
Dimov's advice that every newly allocated resource be immediately
managed by a _named_ resource manager object.
-- Dave Abrahams Boost Consulting www.boost-consulting.com