
2 Oct
2009
2 Oct
'09
4:46 p.m.
"Andrey Semashev" <andrey.semashev@gmail.com> wrote in message news:4AC62580.9050801@gmail.com...
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