From 794b7286037ef954e63928776c6f84ee6f4e0bcd Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sat, 15 Dec 2001 00:58:47 +0000 Subject: [PATCH] tutorial.html: - State that ref(...) function objects won't throw during construction, either. [SVN r12061] --- doc/tutorial.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/tutorial.html b/doc/tutorial.html index b87a569..756de92 100644 --- a/doc/tutorial.html +++ b/doc/tutorial.html @@ -120,7 +120,8 @@ Here, f will not make a copy of a_function_object, nor will f2 when it is targeted to f's reference to a_function_object. Additionally, when using references to -function objects, Boost.Function will not throw exceptions during assignment. +function objects, Boost.Function will not throw exceptions during + assignment or construction.

The function family

The header <boost/function.hpp> defines the primary entry point to the function object wrappers, the class template boost::function. This class template is essentially a thin wrapper around a set of similar numbered function object wrappers, boost::function0, boost::function1, etc., where the number indicates the number of arguments passed to the function object target. The declaration of f above could also be written as: @@ -198,7 +199,7 @@ boost::function2<float, int, int, SynchronizedPolicy, SynchronizedMixin> f

Douglas Gregor
-Last modified: Wed Dec 5 17:48:40 EST 2001 +Last modified: Fri Dec 14 19:58:14 EST 2001