$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-04-09 16:02:59
From: "Jesse Jones" <jesjones_at_[hidden]>
> 6) Trying to invoke an empty function seems like a precondition
> violation to me. Asserting instead of throwing seems preferable.
I agree with most of your points, however invoking an empty function must
throw for boost::function<T&> to be default constructable. (What would you
return from op() if it didn't throw?)
-- Peter Dimov Multi Media Ltd.