| 255 | |
| 256 | template <class E, class SlotsTuple> |
| 257 | BOOST_LEAF_CONSTEXPR inline |
| 258 | E const * |
| 259 | peek( SlotsTuple const & tup, error_info const & ei ) noexcept |
| 260 | { |
| 261 | if( error_id err = ei.error() ) |
| 262 | { |
| 263 | if( E const * e = peek_tuple<E>::peek(tup, err) ) |
| 264 | return e; |
| 265 | #ifndef BOOST_LEAF_NO_EXCEPTIONS |
| 266 | else |
| 267 | return peek_exception<E const>::peek(ei); |
| 268 | #endif |
| 269 | } |
| 270 | return nullptr; |
| 271 | } |
| 272 | |
| 273 | template <class E, class SlotsTuple> |
| 274 | BOOST_LEAF_CONSTEXPR inline |
no outgoing calls
no test coverage detected