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

Namespaces

namespace  detail
 

Classes

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

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

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

Definition at line 27 of file expected.hpp.

◆ NULLOPT

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

Definition at line 44 of file optional.hpp.

◆ UNEXPECT

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

Definition at line 29 of file expected.hpp.