diff --git a/doc/reference.xml b/doc/reference.xml index a39309c..f05232c 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -76,12 +76,13 @@ objects. Objects of type function_base may not be created directly. - - + + + bool true if this has a target, and false otherwise. Will not throw. - + @@ -124,7 +125,7 @@ T1 T2 - + TN @@ -168,39 +169,44 @@ Will not throw when the target of f is a stateless function object or a reference to the function object. - - + + + void const functionN& Interchanges the targets of *this and f. Will not throw. - + + void this->empty() Will not throw. - + - + bool true if this has a target, and false otherwise. Will not throw. - + + safe_bool A safe_bool that evaluates false in a boolean context when this->empty(), and true otherwise. Will not throw. - + + bool this->empty() Will not throw. - + - - + + + result_type arg1_type arg2_type ... @@ -209,10 +215,10 @@ if R is void, nothing is returned; otherwise, the return value of the call to f is returned. bad_function_call if !this->empty(). Otherwise, may through any exception thrown by the target function f. - + - + + void functionN<T1, T2, ..., TN, Allocator>& functionN<T1, T2, ..., TN, Allocator>& f1.swap(f2) @@ -228,7 +235,7 @@ - + + void const functionN<T1, T2, ..., TN, Allocator1>& const functionN<U1, U2, ..., UN, Allocator2>& This function must be left undefined. The safe_bool conversion opens a loophole whereby two function instances can be compared via ==. This undefined void operator == closes the loophole and ensures a compile-time or link-time error. - + + void const functionN<T1, T2, ..., TN, Allocator1>& const functionN<U1, U2, ..., UN, Allocator2>& This function must be left undefined. @@ -270,7 +279,9 @@