proxygen
folly::Indestructible< T >::Storage Union Reference

Public Member Functions

template<typename S = T, typename = decltype(S())>
constexpr Storage () noexcept(noexcept(T()))
 
template<typename... Args, typename = decltype(T(std::declval<Args>()...))>
constexpr Storage (Args &&...args) noexcept(noexcept(T(std::declval< Args >()...)))
 
 ~Storage ()
 

Public Attributes

T value
 

Detailed Description

template<typename T>
union folly::Indestructible< T >::Storage

Definition at line 160 of file Indestructible.h.

Constructor & Destructor Documentation

template<typename T>
template<typename S = T, typename = decltype(S())>
constexpr folly::Indestructible< T >::Storage::Storage ( )
inlinenoexcept

Definition at line 164 of file Indestructible.h.

References testing::Args(), and folly::T.

template<typename T>
template<typename... Args, typename = decltype(T(std::declval<Args>()...))>
constexpr folly::Indestructible< T >::Storage::Storage ( Args &&...  args)
inlineexplicitnoexcept

Definition at line 167 of file Indestructible.h.

169  : value(std::forward<Args>(args)...) {}
template<typename T>
folly::Indestructible< T >::Storage::~Storage ( )
inline

Definition at line 171 of file Indestructible.h.

171 {}

Member Data Documentation

template<typename T>
T folly::Indestructible< T >::Storage::value

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