| 449 | |
| 450 | template <class T> |
| 451 | BOOST_LEAF_CONSTEXPR T const * get(error_id err) const noexcept |
| 452 | { |
| 453 | detail::slot<T> const * e = detail::find_in_tuple<detail::slot<T>>(tup_); |
| 454 | return e ? e->has_value(err.value()) : nullptr; |
| 455 | } |
| 456 | |
| 457 | template <class R, class... H> |
| 458 | BOOST_LEAF_CONSTEXPR R handle_error( error_id, H && ... ) const; |