ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::utility::constexpr_optional_base< T > Struct Template Reference

#include <Optional.h>

Public Member Functions

constexpr constexpr_optional_base () noexcept
 
constexpr constexpr_optional_base (const T &v)
 
constexpr constexpr_optional_base (T &&v)
 
template<class... Args>
constexpr constexpr_optional_base (in_place_t, Args &&... args)
 
template<class U , class... Args, typename std::enable_if< std::is_constructible< T, std::initializer_list< U >> ::value, bool >::type = false>
constexpr constexpr_optional_base (in_place_t, std::initializer_list< U > il, Args &&... args)
 
 ~constexpr_optional_base ()=default
 

Public Attributes

bool init_
 
constexpr_storage_t< T > storage_
 

Detailed Description

template<class T>
struct cloudViewer::utility::constexpr_optional_base< T >

Definition at line 207 of file Optional.h.

Constructor & Destructor Documentation

◆ constexpr_optional_base() [1/5]

template<class T >
constexpr cloudViewer::utility::constexpr_optional_base< T >::constexpr_optional_base ( )
inlineconstexprnoexcept

Definition at line 211 of file Optional.h.

◆ constexpr_optional_base() [2/5]

template<class T >
constexpr cloudViewer::utility::constexpr_optional_base< T >::constexpr_optional_base ( const T &  v)
inlineexplicitconstexpr

Definition at line 214 of file Optional.h.

◆ constexpr_optional_base() [3/5]

template<class T >
constexpr cloudViewer::utility::constexpr_optional_base< T >::constexpr_optional_base ( T &&  v)
inlineexplicitconstexpr

Definition at line 217 of file Optional.h.

◆ constexpr_optional_base() [4/5]

template<class T >
template<class... Args>
constexpr cloudViewer::utility::constexpr_optional_base< T >::constexpr_optional_base ( in_place_t  ,
Args &&...  args 
)
inlineexplicitconstexpr

Definition at line 221 of file Optional.h.

◆ constexpr_optional_base() [5/5]

template<class T >
template<class U , class... Args, typename std::enable_if< std::is_constructible< T, std::initializer_list< U >> ::value, bool >::type = false>
constexpr cloudViewer::utility::constexpr_optional_base< T >::constexpr_optional_base ( in_place_t  ,
std::initializer_list< U >  il,
Args &&...  args 
)
inlineexplicitconstexpr

Definition at line 228 of file Optional.h.

◆ ~constexpr_optional_base()

Member Data Documentation

◆ init_

template<class T >
bool cloudViewer::utility::constexpr_optional_base< T >::init_

Definition at line 208 of file Optional.h.

◆ storage_

Definition at line 209 of file Optional.h.


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