Shortcuts

Template Struct trivially_copyable_optimization_optional_base

Page Contents

Struct Documentation

template<class T>
struct c10::trivially_copyable_optimization_optional_base

Public Functions

constexpr trivially_copyable_optimization_optional_base() noexcept
constexpr trivially_copyable_optimization_optional_base(const T &v)
constexpr trivially_copyable_optimization_optional_base(T &&v)
template<class ...Args>
constexpr trivially_copyable_optimization_optional_base(in_place_t, Args&&... args)
template<class U, class... Args, typename std::enable_if< std::is_constructible< T, std::initializer_list< U >>::value, bool >::type = false> constexpr trivially_copyable_optimization_optional_base (in_place_t, std::initializer_list< U > il, Args &&...args)
~trivially_copyable_optimization_optional_base() = default
constexpr bool initialized() const noexcept
void setInitialized(bool init) noexcept

Public Members

bool init_
constexpr_storage_t<T> storage_

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources