Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
open3d::utility::optional< T && > Class Template Reference

#include <Optional.h>

Inheritance diagram for open3d::utility::optional< T && >:

Public Types

typedef T value_type

Public Member Functions

constexpr optional () noexcept
 ~optional ()=default
optionaloperator= (nullopt_t) noexcept
void emplace (Args &&... args)
void swap (optional< T > &rhs) noexcept(std::is_nothrow_move_constructible< T >::value &&noexcept(std::swap(std::declval< T & >(), std::declval< T & >())))
constexpr operator bool () const noexcept
constexpr bool has_value () const noexcept
TR2_OPTIONAL_HOST_CONSTEXPR T const * operator-> () const
TR2_OPTIONAL_HOST_CONSTEXPR T const & operator* () const &
TR2_OPTIONAL_HOST_CONSTEXPR T const & value () const &
constexpr T value_or (V &&v) const &
void reset () noexcept

Member Typedef Documentation

◆ value_type

typedef T open3d::utility::optional< T >::value_type

Constructor & Destructor Documentation

◆ optional()

open3d::utility::optional< T >::optional ( )
inlineconstexprnoexcept

◆ ~optional()

open3d::utility::optional< T >::~optional ( )
default

Member Function Documentation

◆ emplace()

void open3d::utility::optional< T >::emplace ( Args &&... args)
inline

◆ has_value()

bool open3d::utility::optional< T >::has_value ( ) const
inlineconstexprnoexcept

◆ operator bool()

open3d::utility::optional< T >::operator bool ( ) const
inlineexplicitconstexprnoexcept

◆ operator*()

TR2_OPTIONAL_HOST_CONSTEXPR T const & open3d::utility::optional< T >::operator* ( ) const &
inline

◆ operator->()

TR2_OPTIONAL_HOST_CONSTEXPR T const * open3d::utility::optional< T >::operator-> ( ) const
inline

◆ operator=()

optional & open3d::utility::optional< T >::operator= ( nullopt_t )
inlinenoexcept

◆ reset()

void open3d::utility::optional< T >::reset ( )
inlinenoexcept

◆ swap()

void open3d::utility::optional< T >::swap ( optional< T > & rhs)
inlinenoexcept

◆ value()

TR2_OPTIONAL_HOST_CONSTEXPR T const & open3d::utility::optional< T >::value ( ) const &
inline

◆ value_or()

T open3d::utility::optional< T >::value_or ( V && v) const &
inlineconstexpr

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