Union arrayref_optional_base::storage

Nested Relationships

This union is a nested type of Template Class arrayref_optional_base.

Union Documentation

union storage
#include <Optional.h>

Public Functions

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

Public Members

struct c10::arrayref_optional_base::storage::raw uninitialized_
ArrayRefT value_
struct raw
#include <Optional.h>

Public Members

const void *p = nullptr
size_t sz = 1


Access comprehensive developer documentation for PyTorch

View Docs


Get in-depth tutorials for beginners and advanced developers

View Tutorials


Find development resources and get your questions answered

View Resources