iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::legacy::detail::err< T > Struct Template Reference

helper struct to create an expected which is signalling an error more easily More...

#include <expected_helper.hpp>

Public Member Functions

 err (const T &t) noexcept
 
template<typename U = T, typename = enable_if_not_lvalue_referece_t<U>>
 err (T &&t) noexcept
 
template<typename... Targs>
 err (Targs &&... args) noexcept
 

Public Attributes

T value
 

Detailed Description

template<typename T>
struct iox2::legacy::detail::err< T >

helper struct to create an expected which is signalling an error more easily

Definition at line 82 of file expected_helper.hpp.

Constructor & Destructor Documentation

◆ err() [1/3]

template<typename T >
iox2::legacy::detail::err< T >::err ( const T t)
inlineexplicitnoexcept

Definition at line 85 of file expected_helper.hpp.

◆ err() [2/3]

template<typename T >
template<typename U = T, typename = enable_if_not_lvalue_referece_t<U>>
iox2::legacy::detail::err< T >::err ( T &&  t)
inlineexplicitnoexcept

Definition at line 92 of file expected_helper.hpp.

◆ err() [3/3]

template<typename T >
template<typename... Targs>
iox2::legacy::detail::err< T >::err ( Targs &&...  args)
inlineexplicitnoexcept

Definition at line 97 of file expected_helper.hpp.

Member Data Documentation

◆ value

template<typename T >
T iox2::legacy::detail::err< T >::value

Definition at line 101 of file expected_helper.hpp.


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