diff --git a/doc/boost-exception.html b/doc/boost-exception.html index 6a606c8..899e5f5 100644 --- a/doc/boost-exception.html +++ b/doc/boost-exception.html @@ -30,7 +30,7 @@
  • Diagnostic Information
  • Integrating Boost Exception in Existing Exception Class Hierarchies
  • Transporting of Exceptions Between Threads
  • -
  • Exception Types As Simple Semantic Tags
  • +
  • Exception Types as Simple Semantic Tags
  • Using Virtual Inheritance in Exception Types
  • diff --git a/doc/exception.html b/doc/exception.html index 57aa715..e48b094 100644 --- a/doc/exception.html +++ b/doc/exception.html @@ -47,7 +47,7 @@ boost current_exception
    Diagnostic Information
    diagnostic_information
    -
    Exception Types As Simple Semantic Tags
    +
    Exception Types as Simple Semantic Tags
    enable_current_exception
    enable_error_info
    error_info
    diff --git a/doc/exception_types_as_simple_semantic_tags.html b/doc/exception_types_as_simple_semantic_tags.html index 0eece5e..2140a14 100644 --- a/doc/exception_types_as_simple_semantic_tags.html +++ b/doc/exception_types_as_simple_semantic_tags.html @@ -19,7 +19,7 @@ -

    Exception Types As Simple Semantic Tags

    +

    Exception Types as Simple Semantic Tags

    Deriving from boost::exception effectively decouples the semantics of a failure from the information that is relevant to each individual instance of reporting a failure with a given semantic.

    In other words: with boost::exception, what data a given exception object transports depends primarily on the context in which failures are reported (not on its type.) Since exception types need no members, it becomes very natural to throw exceptions that derive from more than one type to indicate multiple appropriate semantics:

    diff --git a/doc/motivation.html b/doc/motivation.html index c90e4f3..7d8f204 100644 --- a/doc/motivation.html +++ b/doc/motivation.html @@ -123,7 +123,7 @@ catch( boost::exception

    See Also:

    diff --git a/doc/name_idx.html b/doc/name_idx.html index 0a3e24c..4f3dfc8 100644 --- a/doc/name_idx.html +++ b/doc/name_idx.html @@ -45,7 +45,7 @@

    d

    diagnostic_information

    E

    -

    Exception Types As Simple Semantic Tags

    +

    Exception Types as Simple Semantic Tags

    e

    enable_current_exception

    enable_error_info

    diff --git a/doc/using_virtual_inheritance_in_exception_types.html b/doc/using_virtual_inheritance_in_exception_types.html index 7f268ff..1f855ef 100644 --- a/doc/using_virtual_inheritance_in_exception_types.html +++ b/doc/using_virtual_inheritance_in_exception_types.html @@ -35,7 +35,7 @@ main() catch(...) { std::cout << "whoops!" << std::endl; } }

    The program above outputs "whoops!" because the conversion to std::exception is ambiguous.

    -

    The overhead introduced by virtual inheritance is always negligible in the context of exception handling. Note that virtual bases are initialized directly by the constructor of the most-derived-type (the type passed to the throw statement, in case of exceptions.) However, typically this detail is of no concern when boost::exception is used, because it enables exception types to be trivial structs with no members (there's nothing to initialize.) See Exception Types As Simple Semantic Tags.

    +

    The overhead introduced by virtual inheritance is always negligible in the context of exception handling. Note that virtual bases are initialized directly by the constructor of the most-derived-type (the type passed to the throw statement, in case of exceptions.) However, typically this detail is of no concern when boost::exception is used, because it enables exception types to be trivial structs with no members (there's nothing to initialize.) See Exception Types as Simple Semantic Tags.


    See Also: