expected< TT, TE >, TException > Struct Template Reference

Space-ng SDK: sol3::log::details::UnwrapImpl< tl::expected< TT, TE >, TException > Struct Template Reference
Space-ng SDK
sol3::log::details::UnwrapImpl< tl::expected< TT, TE >, TException > Struct Template Reference

#include <sol3/log/except.h>

Inheritance diagram for sol3::log::details::UnwrapImpl< tl::expected< TT, TE >, TException >:
sol3::log::details::UnwrapImpl< tl::expected< TT, TE > &&, TException > sol3::log::details::UnwrapImpl< tl::expected< TT, TE > &, TException > sol3::log::details::UnwrapImpl< tl::expected< TT, TE > const &, TException >

Static Public Member Functions

template<class TExpected >
static auto impl (TExpected &&expected, char const *file, int line, char const *func, std::string msg) -> decltype(*std::forward< TExpected >(expected))
 

Detailed Description

template<class TT, class TE, class TException>
struct sol3::log::details::UnwrapImpl< tl::expected< TT, TE >, TException >

Specialization for ::tl::expected to add expected.error() to the generic error message.

Member Function Documentation

◆ impl()

template<class TT , class TE , class TException >
template<class TExpected >
static auto sol3::log::details::UnwrapImpl< tl::expected< TT, TE >, TException >::impl ( TExpected &&  expected,
char const *  file,
int  line,
char const *  func,
std::string  msg 
) -> decltype(*std::forward<TExpected>(expected))
inlinestatic
Parameters
fileNOLINT

The documentation for this struct was generated from the following file:
  • /workspaces/astro/sol3-sdk/cpp/sol3/log/except.h