PyTorch
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
c10::storage_t< T > Union Template Reference

#include <Optional.h>

Public Member Functions

 storage_t (trivial_init_t) noexcept
 
template<class... Args>
constexpr storage_t (Args &&... args)
 
 ~storage_t ()
 

Public Attributes

unsigned char dummy_ {}
 
value_
 

Constructor & Destructor Documentation

◆ storage_t() [1/2]

template<class T >
c10::storage_t< T >::storage_t ( trivial_init_t  )
inlinenoexcept

◆ storage_t() [2/2]

template<class T >
template<class... Args>
constexpr c10::storage_t< T >::storage_t ( Args &&...  args)
inlineconstexpr

◆ ~storage_t()

template<class T >
c10::storage_t< T >::~storage_t ( )
inline

Member Data Documentation

◆ dummy_

template<class T >
unsigned char c10::storage_t< T >::dummy_ {}

◆ value_

template<class T >
T c10::storage_t< T >::value_

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