Public Member Functions | List of all members
tl::detail::optional_operations_base< T > Struct Template Reference

#include <optional.hpp>

Inheritance diagram for tl::detail::optional_operations_base< T >:
Inheritance graph
[legend]

Public Member Functions

template<class Opt >
void assign (Opt &&rhs)
 
template<class... Args>
void construct (Args &&... args) noexcept
 
TL_OPTIONAL_11_CONSTEXPR T & get () &
 
TL_OPTIONAL_11_CONSTEXPR T && get () &&
 
const TL_OPTIONAL_11_CONSTEXPR T & get () const &
 
constexpr const T && get () const &&
 
void hard_reset () noexcept
 
bool has_value () const
 
- Public Member Functions inherited from tl::detail::optional_storage_base< T >
TL_OPTIONAL_11_CONSTEXPR optional_storage_base () noexcept
 
TL_OPTIONAL_11_CONSTEXPR optional_storage_base (in_place_t, U &&... u)
 
 ~optional_storage_base ()
 

Additional Inherited Members

- Public Attributes inherited from tl::detail::optional_storage_base< T >
union {
   dummy   m_dummy
 
   T   m_value
 
}; 
 
dummy m_dummy
 
bool m_has_value
 
m_value
 

Detailed Description

template<class T>
struct tl::detail::optional_operations_base< T >

Definition at line 404 of file 3rdparty/tl/optional.hpp.

Member Function Documentation

◆ assign()

template<class T >
template<class Opt >
void tl::detail::optional_operations_base< T >::assign ( Opt &&  rhs)
inline

Definition at line 417 of file 3rdparty/tl/optional.hpp.

◆ construct()

template<class T >
template<class... Args>
void tl::detail::optional_operations_base< T >::construct ( Args &&...  args)
inlinenoexcept

Definition at line 412 of file 3rdparty/tl/optional.hpp.

◆ get() [1/4]

template<class T >
TL_OPTIONAL_11_CONSTEXPR T& tl::detail::optional_operations_base< T >::get ( ) &
inline

Definition at line 434 of file 3rdparty/tl/optional.hpp.

◆ get() [2/4]

template<class T >
TL_OPTIONAL_11_CONSTEXPR T&& tl::detail::optional_operations_base< T >::get ( ) &&
inline

Definition at line 436 of file 3rdparty/tl/optional.hpp.

◆ get() [3/4]

template<class T >
const TL_OPTIONAL_11_CONSTEXPR T& tl::detail::optional_operations_base< T >::get ( ) const &
inline

Definition at line 435 of file 3rdparty/tl/optional.hpp.

◆ get() [4/4]

template<class T >
constexpr const T&& tl::detail::optional_operations_base< T >::get ( ) const &&
inlineconstexpr

Definition at line 438 of file 3rdparty/tl/optional.hpp.

◆ hard_reset()

template<class T >
void tl::detail::optional_operations_base< T >::hard_reset ( )
inlinenoexcept

Definition at line 407 of file 3rdparty/tl/optional.hpp.

◆ has_value()

template<class T >
bool tl::detail::optional_operations_base< T >::has_value ( ) const
inline

Definition at line 432 of file 3rdparty/tl/optional.hpp.


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


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20