|
LLVM
7.0.0
|
Storage for trivially copyable types only. More...
#include "llvm/ADT/Optional.h"
Public Member Functions | |
| OptionalStorage ()=default | |
| OptionalStorage (const T &y) | |
| OptionalStorage & | operator= (const T &y) |
| void | reset () |
Public Attributes | |
| AlignedCharArrayUnion< T > | storage |
| bool | hasVal = false |
Storage for trivially copyable types only.
Definition at line 113 of file Optional.h.
|
default |
|
inline |
Definition at line 119 of file Optional.h.
References llvm::AlignedCharArray< Alignment, Size >::buffer, and T.
|
inline |
Definition at line 120 of file Optional.h.
References llvm::AlignedCharArray< Alignment, Size >::buffer.
|
inline |
Definition at line 126 of file Optional.h.
| bool llvm::optional_detail::OptionalStorage< T, true >::hasVal = false |
Definition at line 115 of file Optional.h.
| AlignedCharArrayUnion<T> llvm::optional_detail::OptionalStorage< T, true >::storage |
Definition at line 114 of file Optional.h.
1.8.13