Public Types | Public Member Functions | Private Attributes | List of all members
ReferenceSensitiveOptional< T > Class Template Reference

Public Types

using value_type = T
 

Public Member Functions

template<typename... Args>
Templace (Args &&...args)
 
 operator bool () const noexcept
 
const Toperator* () const noexcept
 
const Toperator-> () const noexcept
 
ReferenceSensitiveOptionaloperator= (const T &value)
 
ReferenceSensitiveOptionaloperator= (T &&value)
 
 ReferenceSensitiveOptional ()=default
 
 ReferenceSensitiveOptional (const T &value)
 
 ReferenceSensitiveOptional (T &&value)
 
const Tvalue () const noexcept
 

Private Attributes

std::vector< Tstorage
 

Detailed Description

template<typename T>
class ReferenceSensitiveOptional< T >

Definition at line 122 of file test_stl.cpp.

Member Typedef Documentation

◆ value_type

template<typename T >
using ReferenceSensitiveOptional< T >::value_type = T

Definition at line 124 of file test_stl.cpp.

Constructor & Destructor Documentation

◆ ReferenceSensitiveOptional() [1/3]

template<typename T >
ReferenceSensitiveOptional< T >::ReferenceSensitiveOptional ( )
default

◆ ReferenceSensitiveOptional() [2/3]

template<typename T >
ReferenceSensitiveOptional< T >::ReferenceSensitiveOptional ( const T value)
inline

Definition at line 128 of file test_stl.cpp.

◆ ReferenceSensitiveOptional() [3/3]

template<typename T >
ReferenceSensitiveOptional< T >::ReferenceSensitiveOptional ( T &&  value)
inline

Definition at line 130 of file test_stl.cpp.

Member Function Documentation

◆ emplace()

template<typename T >
template<typename... Args>
T& ReferenceSensitiveOptional< T >::emplace ( Args &&...  args)
inline

Definition at line 141 of file test_stl.cpp.

◆ operator bool()

template<typename T >
ReferenceSensitiveOptional< T >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 156 of file test_stl.cpp.

◆ operator*()

template<typename T >
const T& ReferenceSensitiveOptional< T >::operator* ( ) const
inlinenoexcept

Definition at line 152 of file test_stl.cpp.

◆ operator->()

template<typename T >
const T* ReferenceSensitiveOptional< T >::operator-> ( ) const
inlinenoexcept

Definition at line 154 of file test_stl.cpp.

◆ operator=() [1/2]

template<typename T >
ReferenceSensitiveOptional& ReferenceSensitiveOptional< T >::operator= ( const T value)
inline

Definition at line 131 of file test_stl.cpp.

◆ operator=() [2/2]

template<typename T >
ReferenceSensitiveOptional& ReferenceSensitiveOptional< T >::operator= ( T &&  value)
inline

Definition at line 135 of file test_stl.cpp.

◆ value()

template<typename T >
const T& ReferenceSensitiveOptional< T >::value ( ) const
inlinenoexcept

Definition at line 147 of file test_stl.cpp.

Member Data Documentation

◆ storage

template<typename T >
std::vector<T> ReferenceSensitiveOptional< T >::storage
private

Definition at line 159 of file test_stl.cpp.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:41