LLVM
16.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 (std::in_place_t, Args &&...args) |
void | reset () noexcept |
constexpr bool | has_value () const noexcept |
constexpr bool | hasValue () const noexcept |
T & | value () &noexcept |
LLVM_DEPRECATED ("Use value instead.", "value") T &getValue() &noexcept | |
constexpr const T & | value () const &noexcept |
constexpr const T & | getValue () const &noexcept |
T && | value () &&noexcept |
LLVM_DEPRECATED ("Use value instead.", "value") T &&getValue() &&noexcept | |
template<class... Args> | |
void | emplace (Args &&...args) |
OptionalStorage & | operator= (T const &y) |
OptionalStorage & | operator= (T &&y) |
Definition at line 180 of file Optional.h.
|
default |
|
inlineconstexprnoexcept |
Definition at line 190 of file Optional.h.
|
constexprdefault |
|
constexprdefault |
|
inlineexplicitconstexpr |
Definition at line 199 of file Optional.h.
|
inline |
Definition at line 241 of file Optional.h.
References new, llvm::optional_detail::OptionalStorage< T, bool >::reset(), T, and llvm::optional_detail::OptionalStorage< T, bool >::val.
|
inlineconstexprnoexcept |
Definition at line 228 of file Optional.h.
References assert(), and llvm::optional_detail::OptionalStorage< T, bool >::val.
|
inlineconstexprnoexcept |
Definition at line 209 of file Optional.h.
|
inlineconstexprnoexcept |
Definition at line 211 of file Optional.h.
|
inlinenoexcept |
Definition at line 236 of file Optional.h.
References assert(), move, and llvm::optional_detail::OptionalStorage< T, bool >::val.
|
inlinenoexcept |
Definition at line 219 of file Optional.h.
References assert(), and llvm::optional_detail::OptionalStorage< T, bool >::val.
|
default |
|
default |
|
inline |
Definition at line 256 of file Optional.h.
References llvm::optional_detail::OptionalStorage< T, bool >::has_value(), move, new, T, llvm::optional_detail::OptionalStorage< T, bool >::val, and y.
|
inline |
Definition at line 247 of file Optional.h.
References llvm::optional_detail::OptionalStorage< T, bool >::has_value(), new, T, llvm::optional_detail::OptionalStorage< T, bool >::val, and y.
|
inlinenoexcept |
Definition at line 202 of file Optional.h.
References llvm::optional_detail::OptionalStorage< T, bool >::val.
|
inlinenoexcept |
Definition at line 232 of file Optional.h.
References assert(), move, T, and llvm::optional_detail::OptionalStorage< T, bool >::val.
|
inlinenoexcept |
Definition at line 215 of file Optional.h.
References assert(), T, and llvm::optional_detail::OptionalStorage< T, bool >::val.
|
inlineconstexprnoexcept |
Definition at line 223 of file Optional.h.
References assert(), T, and llvm::optional_detail::OptionalStorage< T, bool >::val.
char llvm::optional_detail::OptionalStorage< T, true >::empty |
Definition at line 182 of file Optional.h.
T llvm::optional_detail::OptionalStorage< T, true >::val |
Definition at line 183 of file Optional.h.