Hooks - Boost.Outcome documentation

# Hooks

1. `uint16_t spare_storage(const basic_result|basic_outcome *) noexcept`

   Returns the sixteen bits of spare storage in the specified result or outcome.

2. `void hook_outcome_construction(T *, U &&) noexcept`

   ADL discovered free function hook invoked by the implicit constructors of `basic_outcome`.

3. `void hook_outcome_construction(T *, U &&, V &&) noexcept`

   ADL discovered free function hook invoked by the implicit constructors of `basic_outcome`.

4. `void hook_outcome_copy_construction(T *, U &&) noexcept`

   ADL discovered free function hook invoked by the converting copy constructors of `basic_outcome`.

5. `void hook_outcome_copy_construction(T *, U &&, V &&) noexcept`

   ADL discovered free function hook invoked by the converting copy constructors of `basic_outcome`.

6. `void hook_outcome_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept`

   ADL discovered free function hook invoked by the in-place constructors of `basic_outcome`.

7. `void hook_outcome_move_construction(T *, U &&) noexcept`

   ADL discovered free function hook invoked by the converting move constructors of `basic_outcome`.

8. `void hook_outcome_move_construction(T *, U &&, V &&) noexcept`

   ADL discovered free function hook invoked by the converting move constructors of `basic_outcome`.

9. `void hook_result_construction(T *, U &&) noexcept`

   ADL discovered free function hook invoked by the implicit constructors of `basic_result`.

10. `void hook_result_copy_construction(T *, U &&) noexcept`

    ADL discovered free function hook invoked by the converting copy constructors of `basic_result`.

11. `void hook_result_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept`

    ADL discovered free function hook invoked by the in-place constructors of `basic_result`.

12. `void hook_result_move_construction(T *, U &&) noexcept`

    ADL discovered free function hook invoked by the converting move constructors of `basic_result`.

13. `void override_outcome_exception(basic_outcome<T, EC, EP, NoValuePolicy> *, U &&) noexcept`

    Overrides the exception to something other than what was constructed.

14. `void set_spare_storage(basic_result|basic_outcome *, uint16_t) noexcept`

    Sets the sixteen bits of spare storage in the specified result or outcome.

Last revised: January 22, 2019 at 01:11:40 UTC