|
clang 22.0.0git
|
#include "clang/Basic/CustomizableOptional.h"
Public Types | |
| using | value_type = T |
Public Member Functions | |
| constexpr | CustomizableOptional ()=default |
| constexpr | CustomizableOptional (std::nullopt_t) |
| constexpr | CustomizableOptional (const T &y) |
| constexpr | CustomizableOptional (const CustomizableOptional &O)=default |
| constexpr | CustomizableOptional (T &&y) |
| constexpr | CustomizableOptional (CustomizableOptional &&O)=default |
| template<typename... ArgTypes> | |
| constexpr | CustomizableOptional (std::in_place_t, ArgTypes &&...Args) |
| constexpr | CustomizableOptional (const std::optional< T > &y) |
| constexpr | CustomizableOptional (std::optional< T > &&y) |
| CustomizableOptional & | operator= (T &&y) |
| CustomizableOptional & | operator= (CustomizableOptional &&O)=default |
| template<typename... ArgTypes> | |
| void | emplace (ArgTypes &&...Args) |
| Create a new object by constructing it in place with the given arguments. | |
| CustomizableOptional & | operator= (const T &y) |
| CustomizableOptional & | operator= (const CustomizableOptional &O)=default |
| void | reset () |
| constexpr | operator bool () const |
| constexpr bool | has_value () const |
| constexpr const T * | operator-> () const |
| T * | operator-> () |
| constexpr const T & | operator* () const & |
| T & | operator* () & |
| template<typename U> | |
| constexpr T | value_or (U &&alt) const & |
| T && | operator* () && |
| template<typename U> | |
| T | value_or (U &&alt) && |
Definition at line 28 of file CustomizableOptional.h.
| using clang::CustomizableOptional< T >::value_type = T |
Definition at line 32 of file CustomizableOptional.h.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 35 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 37 of file CustomizableOptional.h.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 40 of file CustomizableOptional.h.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 45 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 49 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 51 of file CustomizableOptional.h.
|
inline |
Create a new object by constructing it in place with the given arguments.
Definition at line 61 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 74 of file CustomizableOptional.h.
Referenced by clang::CustomizableOptional< DirectoryEntryRef >::operator bool(), clang::operator<(), clang::operator==(), clang::CustomizableOptional< DirectoryEntryRef >::value_or(), and clang::CustomizableOptional< DirectoryEntryRef >::value_or().
|
inlineexplicitconstexpr |
Definition at line 73 of file CustomizableOptional.h.
|
inline |
Definition at line 78 of file CustomizableOptional.h.
|
inline |
Definition at line 84 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 77 of file CustomizableOptional.h.
Referenced by clang::CustomizableOptional< DirectoryEntryRef >::value_or().
|
inline |
Definition at line 76 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 75 of file CustomizableOptional.h.
|
default |
|
inline |
Definition at line 65 of file CustomizableOptional.h.
|
default |
|
inline |
Definition at line 54 of file CustomizableOptional.h.
|
inline |
Definition at line 71 of file CustomizableOptional.h.
|
inline |
Definition at line 86 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 80 of file CustomizableOptional.h.