diff --git a/doc/reference.html b/doc/reference.html index a245198..f96bcf1 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -15,8 +15,10 @@ namespace boost { class function_base { + typedef implementation-defined safe_bool; bool empty() const; - operator bool() const; + operator safe_bool() const; + safe_bool operator!() const; }; // For N in [0, MAX_ARGS] @@ -65,8 +67,8 @@ typename Policy, typename Mixin, typename Allocator> - void swap(const function<Arg1, Arg2, ..., ArgN, Policy, Mixin, Allocator>&, - const function<Arg1, Arg2, ..., ArgN, Policy, Mixin, Allocator>&); + void swap(const functionN<Arg1, Arg2, ..., ArgN, Policy, Mixin, Allocator>&, + const functionN<Arg1, Arg2, ..., ArgN, Policy, Mixin, Allocator>&); // For any N in [0, MAX_ARGS] template<typename ResultType, @@ -105,6 +107,43 @@ } +

Definitions

+

+

+

Class function_base

Class function_base is the common base class for all Boost.Function objects. Objects of type function_base may not be created directly. @@ -114,10 +153,18 @@

  • Throws: will not throw.
  • -

    operator bool() const +

    operator safe_bool() const

    + +

    safe_bool operator!() const +

    Class template functionN

    @@ -137,7 +184,7 @@

    template<typename F> functionN(const F& g, const Mixin& = Mixin());