
29 Nov
2009
29 Nov
'09
3:41 a.m.
On Fri, Nov 27, 2009 at 1:25 PM, Domagoj Saric <dsaritz@gmail.com> wrote:
/* snip */
For note, there is interest. Many times I would love to have a Boost.Function that will not throw, or even do a test if !null. In my design I make sure I never call null function pointers, so having that internal test done (along with not having code that throws an exception), which will 'slightly' improve the call speed and reduce the number of assembly instructions by a large factor. If I could set a policy that disables the null-check (which also removed the need for exception handling and such as well), I would be exceedingly happy.