|
iceoryx2
C++ Bindings
|
#include <optional.hpp>
Public Member Functions | |
| constexpr | OptionalValueHolder () noexcept |
| constexpr | OptionalValueHolder (T const &value) |
| constexpr | OptionalValueHolder (T &&value) |
| constexpr | OptionalValueHolder (OptionalValueHolder const &rhs) |
| constexpr | OptionalValueHolder (OptionalValueHolder &&rhs) noexcept(std::is_nothrow_move_constructible< T >::value) |
| IOX2_CONSTEXPR_DTOR | ~OptionalValueHolder () |
| constexpr auto | operator= (OptionalValueHolder const &rhs) -> OptionalValueHolder & |
| constexpr auto | operator= (OptionalValueHolder &&rhs) noexcept(std::is_nothrow_move_assignable< T >::value) -> OptionalValueHolder & |
| constexpr auto | is_empty () const -> bool |
| constexpr auto | set (T const &value) -> void |
| constexpr auto | set (T &&value) -> void |
| constexpr auto | unchecked_get () &-> T & |
| constexpr auto | unchecked_get () const &-> T const & |
| constexpr auto | unchecked_get () &&-> T && |
| constexpr auto | unchecked_get () const &&-> T const && |
| constexpr auto | reset () -> void |
Internal union implementation for Optional.
Definition at line 50 of file optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 59 of file optional.hpp.
References m_u_null.
Referenced by operator=(), operator=(), OptionalValueHolder(), and OptionalValueHolder().
|
inlineexplicitconstexpr |
Definition at line 62 of file optional.hpp.
References m_u_value.
|
inlineexplicitconstexpr |
Definition at line 66 of file optional.hpp.
References m_u_value.
|
inlineconstexpr |
Definition at line 70 of file optional.hpp.
References OptionalValueHolder().
|
inlineconstexprnoexcept |
Definition at line 77 of file optional.hpp.
References OptionalValueHolder().
|
inline |
Definition at line 85 of file optional.hpp.
References IOX2_CONSTEXPR_DTOR, and reset().
|
inlineconstexpr |
Definition at line 114 of file optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 101 of file optional.hpp.
References OptionalValueHolder(), reset(), and set().
|
inlineconstexpr |
Definition at line 89 of file optional.hpp.
References OptionalValueHolder(), reset(), and set().
|
inlineconstexpr |
Definition at line 160 of file optional.hpp.
References m_u_value.
Referenced by operator=(), operator=(), and ~OptionalValueHolder().
|
inlineconstexpr |
Definition at line 129 of file optional.hpp.
References m_u_value.
|
inlineconstexpr |
Definition at line 118 of file optional.hpp.
References m_u_value.
Referenced by operator=(), and operator=().
|
inlineconstexpr |
Definition at line 150 of file optional.hpp.
References m_u_value.
|
inlineconstexpr |
Definition at line 140 of file optional.hpp.
References m_u_value.
|
inlineconstexpr |
Definition at line 155 of file optional.hpp.
References m_u_value.
|
inlineconstexpr |
Definition at line 145 of file optional.hpp.
References m_u_value.
| char iox2::bb::stl::detail::OptionalValueHolder< T >::m_u_null |
Definition at line 53 of file optional.hpp.
Referenced by OptionalValueHolder().
| std::remove_cv_t<T> iox2::bb::stl::detail::OptionalValueHolder< T >::m_u_value |
Definition at line 54 of file optional.hpp.
Referenced by OptionalValueHolder(), OptionalValueHolder(), reset(), set(), set(), unchecked_get(), unchecked_get(), unchecked_get(), and unchecked_get().