clang 20.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 const T * | getPointer () const |
T * | getPointer () |
constexpr const T & | value () const & |
T & | value () & |
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 && | value () && |
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.
|
inline |
Definition at line 76 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 74 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 83 of file CustomizableOptional.h.
Referenced by clang::CustomizableOptional< T >::operator bool(), clang::operator<(), clang::operator==(), and clang::CustomizableOptional< T >::value_or().
|
inlineexplicitconstexpr |
Definition at line 82 of file CustomizableOptional.h.
References clang::CustomizableOptional< T >::has_value().
|
inline |
Definition at line 87 of file CustomizableOptional.h.
|
inline |
Definition at line 95 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 86 of file CustomizableOptional.h.
Referenced by clang::CustomizableOptional< T >::value_or().
|
inline |
Definition at line 85 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 84 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 80 of file CustomizableOptional.h.
|
inline |
Definition at line 94 of file CustomizableOptional.h.
|
inlineconstexpr |
Definition at line 78 of file CustomizableOptional.h.
|
inline |
Definition at line 97 of file CustomizableOptional.h.
References clang::CustomizableOptional< T >::has_value().
|
inlineconstexpr |
Definition at line 89 of file CustomizableOptional.h.
References clang::CustomizableOptional< T >::has_value(), and clang::CustomizableOptional< T >::operator*().