libzypp  17.38.7
mtry.h File Reference
#include "expected.h"
#include <zypp-core/base/Exception.h>
#include <zypp-core/ng/pipelines/operators.h>
Include dependency graph for mtry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zyppng::detail::MtryImpl< Ret, F, Args >
 
struct  zyppng::detail::mtry_helper< Callback >
 

Namespaces

 zyppng
 
 zyppng::detail
 
 zyppng::operators
 

Functions

template<typename F , typename ... Args, typename Ret = std::invoke_result_t<F, Args...>, typename Exp = expected<Ret, std::exception_ptr>>
auto zyppng::mtry (F &&f, Args &&...args)
 
template<typename Fun >
auto zyppng::operators::mtry (Fun &&function)