Boost logo

Boost :

Subject: Re: [boost] [function] "paranoia" vs efficiency
From: Domagoj Saric (dsaritz_at_[hidden])
Date: 2009-10-02 12:46:52

"Andrey Semashev" <andrey.semashev_at_[hidden]> wrote in message
> I think this branching can be effectively elided without sacrificing safety
> if boost::function maintains never-empty internal guarantee. IOW, if
> function::empty() returns true, then the function object is actually pointing
> to some private function that simply throws upon being invoked.

hello noosphere ;-)

 "That men do not learn very much from the lessons of history is the most
important of all the lessons of history."
 Aldous Huxley 

Boost list run by bdawes at, gregod at, cpdaniel at, john at