iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
expected.hpp File Reference
#include "iox2/bb/variation/expected_adaption.hpp"

Go to the source code of this file.

Namespaces

namespace  iox2
 
namespace  iox2::bb
 

Typedefs

template<typename T , typename E >
using iox2::bb::Expected = iox2::bb::variation::Expected< T, E >
 
template<typename E >
using iox2::bb::Unexpected = iox2::bb::variation::Unexpected< E >
 
using iox2::bb::InPlaceT = iox2::bb::variation::InPlaceT
 
using iox2::bb::UnexpectT = iox2::bb::variation::UnexpectT
 

Functions

template<typename E >
constexpr auto iox2::bb::err (const E &error) -> Unexpected< E >
 
template<typename E , std::enable_if_t<!std::is_lvalue_reference< E >::value, bool > = true>
constexpr auto iox2::bb::err (E &&error) -> Unexpected< E >
 

Variables

constexpr InPlaceT iox2::bb::IN_PLACE = iox2::bb::variation::IN_PLACE
 
constexpr UnexpectT iox2::bb::UNEXPECT = iox2::bb::variation::UNEXPECT