LLVM
15.0.0git
|
#include "llvm/ADT/Optional.h"
Public Member Functions | |
~OptionalStorage ()=default | |
constexpr | OptionalStorage () noexcept |
constexpr | OptionalStorage (OptionalStorage const &other)=default |
constexpr | OptionalStorage (OptionalStorage &&other)=default |
OptionalStorage & | operator= (OptionalStorage const &other)=default |
OptionalStorage & | operator= (OptionalStorage &&other)=default |
template<class... Args> | |
constexpr | OptionalStorage (in_place_t, Args &&... args) |
void | reset () noexcept |
constexpr bool | hasValue () const noexcept |
T & | getValue () &noexcept |
constexpr const T & | getValue () const &noexcept |
T && | getValue () &&noexcept |
template<class... Args> | |
void | emplace (Args &&...args) |
OptionalStorage & | operator= (T const &y) |
OptionalStorage & | operator= (T &&y) |
Definition at line 163 of file Optional.h.
|
default |
|
inlineconstexprnoexcept |
Definition at line 173 of file Optional.h.
|
constexprdefault |
|
constexprdefault |
|
inlineexplicitconstexpr |
Definition at line 182 of file Optional.h.
|
inline |
Definition at line 207 of file Optional.h.
References new, llvm::optional_detail::OptionalStorage< T, bool >::reset(), T, and llvm::optional_detail::OptionalStorage< T, bool >::value.
|
inlinenoexcept |
Definition at line 202 of file Optional.h.
References assert(), move, T, and llvm::optional_detail::OptionalStorage< T, bool >::value.
|
inlinenoexcept |
Definition at line 194 of file Optional.h.
References assert(), T, and llvm::optional_detail::OptionalStorage< T, bool >::value.
|
inlineconstexprnoexcept |
Definition at line 198 of file Optional.h.
References assert(), T, and llvm::optional_detail::OptionalStorage< T, bool >::value.
|
inlineconstexprnoexcept |
Definition at line 192 of file Optional.h.
|
default |
|
default |
|
inline |
Definition at line 222 of file Optional.h.
References llvm::optional_detail::OptionalStorage< T, bool >::hasValue(), move, new, T, llvm::optional_detail::OptionalStorage< T, bool >::value, and y.
|
inline |
Definition at line 213 of file Optional.h.
References llvm::optional_detail::OptionalStorage< T, bool >::hasValue(), new, T, llvm::optional_detail::OptionalStorage< T, bool >::value, and y.
|
inlinenoexcept |
Definition at line 185 of file Optional.h.
References llvm::optional_detail::OptionalStorage< T, bool >::value.
char llvm::optional_detail::OptionalStorage< T, true >::empty |
Definition at line 165 of file Optional.h.
T llvm::optional_detail::OptionalStorage< T, true >::value |
Definition at line 166 of file Optional.h.