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

#include <Optional.h>

Classes

union  storage
 

Public Member Functions

constexpr arrayref_optional_base () noexcept=default
 
constexpr arrayref_optional_base (const ArrayRefT &v)
 
template<class... Args>
constexpr arrayref_optional_base (in_place_t, Args &&... args)
 
template<typename T >
constexpr arrayref_optional_base (in_place_t, const std::initializer_list< T > &v)
 
constexpr bool initialized () const noexcept
 
void setInitialized (bool init) noexcept
 

Public Attributes

storage storage_
 

Constructor & Destructor Documentation

◆ arrayref_optional_base() [1/4]

template<class ArrayRefT >
constexpr c10::arrayref_optional_base< ArrayRefT >::arrayref_optional_base ( )
constexprdefaultnoexcept

◆ arrayref_optional_base() [2/4]

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

◆ arrayref_optional_base() [3/4]

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

◆ arrayref_optional_base() [4/4]

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

Member Function Documentation

◆ initialized()

template<class ArrayRefT >
constexpr bool c10::arrayref_optional_base< ArrayRefT >::initialized ( ) const
inlineconstexprnoexcept

◆ setInitialized()

template<class ArrayRefT >
void c10::arrayref_optional_base< ArrayRefT >::setInitialized ( bool  init)
inlinenoexcept

Member Data Documentation

◆ storage_

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

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