iceoryx2
C++ Bindings
Loading...
Searching...
No Matches
iox2::bb::stl Namespace Reference

Namespaces

namespace  detail

Classes

struct  InPlaceT
struct  UnexpectT
class  Unexpected
class  Expected
class  Optional
 A drop-in replacement for C++17 std::optional. More...
struct  NulloptT
 A drop-in replacement for C++17 std::nullopt_t for use with Optional. More...

Functions

template<typename T>
auto operator== (const Optional< T > &lhs, const Optional< T > &rhs) noexcept -> bool
template<typename T>
auto operator!= (const Optional< T > &lhs, const Optional< T > &rhs) noexcept -> bool

Variables

constexpr InPlaceT IN_PLACE {}
constexpr UnexpectT UNEXPECT {}
constexpr NulloptT NULLOPT = NulloptT(detail::NulloptTConstructorTag {})

Function Documentation

◆ operator!=()

template<typename T>
auto iox2::bb::stl::operator!= ( const Optional< T > & lhs,
const Optional< T > & rhs )->bool
noexcept

Definition at line 349 of file optional.hpp.

◆ operator==()

template<typename T>
auto iox2::bb::stl::operator== ( const Optional< T > & lhs,
const Optional< T > & rhs )->bool
noexcept

Definition at line 338 of file optional.hpp.

Variable Documentation

◆ IN_PLACE

InPlaceT iox2::bb::stl::IN_PLACE {}
constexpr

Definition at line 27 of file expected.hpp.

◆ NULLOPT

NulloptT iox2::bb::stl::NULLOPT = NulloptT(detail::NulloptTConstructorTag {})
constexpr

Definition at line 44 of file optional.hpp.

◆ UNEXPECT

UnexpectT iox2::bb::stl::UNEXPECT {}
constexpr

Definition at line 29 of file expected.hpp.