iceoryx2
C++ Bindings
Loading...
Searching...
No Matches
expected_helper.hpp File Reference

Go to the source code of this file.

Classes

struct  iox2::legacy::in_place_t
 helper struct which is used to call the in-place-construction constructor More...
struct  iox2::legacy::unexpect_t
 helper struct which is used to call the in-place-construction constructor for error types More...
struct  iox2::legacy::detail::ok< T >
 helper struct to create an expected which is signalling success more easily More...
struct  iox2::legacy::detail::ok< void >
 helper struct to handle 'void' value type specialization More...
struct  iox2::legacy::detail::err< T >
 helper struct to create an expected which is signalling an error more easily More...
class  iox2::legacy::detail::expected_storage< ValueType, ErrorType >
 helper class to be able to handle 'void' value type specialization More...
class  iox2::legacy::detail::expected_storage< void, ErrorType >
 helper struct to handle 'void' value type specialization More...
struct  iox2::legacy::detail::compare_expected_value< T, E >
 helper struct for 'operator==' to be able to handle 'void' value type specialization More...
struct  iox2::legacy::detail::compare_expected_value< void, E >
 helper struct to handle 'void' value type specialization More...

Namespaces

namespace  iox2
namespace  iox2::legacy
namespace  iox2::legacy::detail

Typedefs

template<typename T>
using iox2::legacy::enable_if_non_void_t = typename std::enable_if<!std::is_void<T>::value, T>::type
 helper trait for SFINEA to disable specific functions for 'void' value type
template<typename T>
using iox2::legacy::enable_if_void_t = typename std::enable_if<std::is_void<T>::value, T>::type
 helper trait for SFINEA to disable specific functions for non 'void' value type
template<typename T>
using iox2::legacy::enable_if_not_lvalue_referece_t = typename std::enable_if<!std::is_lvalue_reference<T>::value, T>::type
 helper trait for SFINEA to disable specific functions for lvalue references

Variables

constexpr in_place_t iox2::legacy::in_place {}
constexpr unexpect_t iox2::legacy::unexpect {}
template<typename ErrorType>
constexpr expected_storage< void, ErrorType >::DummyValueType iox2::legacy::detail::expected_storage< void, ErrorType >::DUMMY_VALUE