libzypp: zyppng::detail::or_else_helper< Callback > Struct Template Reference

libzypp 17.38.14

zyppng::detail::or_else_helper< Callback > Struct Template Reference

`#include <zypp-core/ng/pipelines/expected.h>`

## Public Member Functions
template<typename T, typename E>
auto | operator() (const expected< T, E > &exp)
template<typename T, typename E>
auto | operator() (expected< T, E > &&exp)

## Public Attributes
Callback | function

## Detailed Description

template<typename Callback>
struct zyppng::detail::or_else_helper< Callback >

Definition at line 657 of file expected.h.

## Member Function Documentation

## ◆ operator()() [1/2]

template<typename Callback>
template<typename T, typename E>

auto zyppng::detail::or_else_helper< Callback >::operator() | ( | const expected< T, E > & | exp | ) |
| inline

Definition at line 661 of file expected.h.

## ◆ operator()() [2/2]

template<typename Callback>
template<typename T, typename E>

auto zyppng::detail::or_else_helper< Callback >::operator() | ( | expected< T, E > && | exp | ) |
| inline

Definition at line 666 of file expected.h.

## Member Data Documentation

## ◆ function

template<typename Callback>

Callback zyppng::detail::or_else_helper< Callback >::function

Definition at line 658 of file expected.h.

The documentation for this struct was generated from the following file:

- zypp-core/ng/pipelines/expected.h