PyTorch
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
c10::arrayref_optional_base< ArrayRefT >::storage Union Reference

#include <Optional.h>

Classes

struct  raw
 

Public Member Functions

constexpr storage () noexcept
 
constexpr void setUninitialized () noexcept
 
constexpr storage (ArrayRefT &v)
 
template<typename T >
constexpr storage (const std::initializer_list< T > &v)
 
template<class... Args>
constexpr storage (Args &&... args)
 

Public Attributes

struct c10::arrayref_optional_base::storage::raw uninitialized_
 
ArrayRefT value_
 

Constructor & Destructor Documentation

◆ storage() [1/4]

template<class ArrayRefT >
constexpr c10::arrayref_optional_base< ArrayRefT >::storage::storage ( )
inlineconstexprnoexcept

◆ storage() [2/4]

template<class ArrayRefT >
constexpr c10::arrayref_optional_base< ArrayRefT >::storage::storage ( ArrayRefT &  v)
inlineexplicitconstexpr

◆ storage() [3/4]

template<class ArrayRefT >
template<typename T >
constexpr c10::arrayref_optional_base< ArrayRefT >::storage::storage ( const std::initializer_list< T > &  v)
inlineexplicitconstexpr

◆ storage() [4/4]

template<class ArrayRefT >
template<class... Args>
constexpr c10::arrayref_optional_base< ArrayRefT >::storage::storage ( Args &&...  args)
inlineexplicitconstexpr

Member Function Documentation

◆ setUninitialized()

template<class ArrayRefT >
constexpr void c10::arrayref_optional_base< ArrayRefT >::storage::setUninitialized ( )
inlineconstexprnoexcept

Member Data Documentation

◆ uninitialized_

template<class ArrayRefT >
struct c10::arrayref_optional_base::storage::raw c10::arrayref_optional_base< ArrayRefT >::storage::uninitialized_

◆ value_

template<class ArrayRefT >
ArrayRefT c10::arrayref_optional_base< ArrayRefT >::storage::value_

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