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

#include <Optional.h>

Public Member Functions

constexpr constexpr_storage_t (trivial_init_t) noexcept
 
template<class... Args>
constexpr constexpr_storage_t (Args &&... args)
 
 ~constexpr_storage_t ()=default
 

Public Attributes

unsigned char dummy_
 
value_
 

Constructor & Destructor Documentation

◆ constexpr_storage_t() [1/2]

template<class T >
constexpr c10::constexpr_storage_t< T >::constexpr_storage_t ( trivial_init_t  )
inlineconstexprnoexcept

◆ constexpr_storage_t() [2/2]

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

◆ ~constexpr_storage_t()

template<class T >
c10::constexpr_storage_t< T >::~constexpr_storage_t ( )
default

Member Data Documentation

◆ dummy_

template<class T >
unsigned char c10::constexpr_storage_t< T >::dummy_

◆ value_

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

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