
On Thu, 02 Sep 2010 17:36:26 +0200, Peter Myerscough-Jackopson <peter.myerscough-jackopson@macltd.com> wrote:
[...]I am checking that the function object contains a function before calling it. There is therefore no need for the invocation of the function to check if it is valid, but also there is no method circumvent this checking, and therefore my program requires the definition of boost::throw_exception, when really it is not needed. This is a concern because I intend on compiling my code into a library and do not wish to require the user to define boost::throw_exception, especially when I am guaranteeing it isn't going to be called from this site. I liked the idea of a templated NOP for the function library, but at the very least an unchecked invocation method would be great, or a nop-if-empty invocation method would be useful.
This has recently come up on the Boost.Asio mailing list, too - see <http://thread.gmane.org/gmane.comp.lib.boost.asio.user/4230>. I think everyone wants to see this change. Boris
[...]