Aliases - Boost.Outcome documentation

# Aliases

1. `boost_checked<T, E = boost::system::error_code>`

   A type alias to a `basic_result` configured with `boost::system::error_code` and `policy::throw_bad_result_access<EC>`.

2. `boost_outcome<T, EC = boost::system::error_code, EP = boost::exception_ptr, NoValuePolicy = policy::default_policy<T, EC, EP>>`

   A type alias to a `basic_outcome` configured with `boost::system::error_code`, `boost::exception_ptr` and `policy::default_policy`.

3. `boost_result<T, E = boost::system::error_code, NoValuePolicy = policy::default_policy<T, E, void>>`

   A type alias to a `basic_result` configured with `boost::system::error_code` and `policy::default_policy`.

4. `boost_unchecked<T, E = boost::system::error_code>`

   A type alias to a `basic_result` configured with `boost::system::error_code` and `policy::all_narrow`.

5. `checked<T, E = varies>`

   A type alias to a `std_checked<T, E>` (standalone edition) or `boost_checked<T, E>` (Boost edition).

6. `default_policy<T, EC, EP>`

   A type alias to a no-value policy selected based on traits matching of `T`, `EC` and `EP`.

7. `outcome<T, EC = varies, EP = varies, NoValuePolicy = policy::default_policy<T, EC, EP>>`

   A type alias to a `std_outcome<T, EC, EP, NoValuePolicy>` (standalone edition) or `boost_outcome<T, EC, EP, NoValuePolicy>` (Boost edition).

8. `result<T, E = varies, NoValuePolicy = policy::default_policy<T, E, void>>`

   A type alias to a `std_result<T, E, NoValuePolicy>` (standalone edition) or `boost_result<T, E, NoValuePolicy>` (Boost edition).

9. `std_checked<T, E = std::error_code>`

   A type alias to a `basic_result` configured with `std::error_code` and `policy::throw_bad_result_access<EC>`.

10. `std_outcome<T, EC = std::error_code, EP = std::exception_ptr, NoValuePolicy = policy::default_policy<T, EC, EP>>`

    A type alias to a `basic_outcome` configured with `std::error_code`, `std::exception_ptr` and `policy::default_policy`.

11. `std_result<T, E = std::error_code, NoValuePolicy = policy::default_policy<T, E, void>>`

    A type alias to a `basic_result` configured with `std::error_code` and `policy::default_policy`.

12. `std_unchecked<T, E = std::error_code>`

    A type alias to a `basic_result` configured with `std::error_code` and `policy::all_narrow`.

13. `unchecked<T, E = varies>`

    A type alias to a `std_unchecked<T, E>` (standalone edition) or `boost_unchecked<T, E>` (Boost edition).

Last revised: December 13, 2018 at 21:10:19 UTC