Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TOptional
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr TOptional () |
Construct an OptionalType intrusively with no value; i.e. unset | Misc/Optional.h | |
constexpr TOptional () |
Construct an OptionalType with no value; i.e. unset | Misc/Optional.h | |
constexpr TOptional
(
const OptionalType& InValue |
Construct an OptionalType with a valid value. | Misc/Optional.h | |
constexpr TOptional
(
OptionalType&& InValue |
Misc/Optional.h | ||
| Construct an OptionalType with an invalid value. | Misc/Optional.h | ||
| Copy/Move construction | Misc/Optional.h | ||
| Misc/Optional.h | |||
| Misc/Optional.h |
TOptional()
Description
Construct an OptionalType intrusively with no value; i.e. unset
| Name | TOptional |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Optional.h |
| Include Path | #include "Misc/Optional.h" |
constexpr TOptional()
TOptional()
Description
Construct an OptionalType with no value; i.e. unset
| Name | TOptional |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Optional.h |
| Include Path | #include "Misc/Optional.h" |
constexpr TOptional()
TOptional(const OptionalType &)
Description
Construct an OptionalType with a valid value.
| Name | TOptional |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Optional.h |
| Include Path | #include "Misc/Optional.h" |
constexpr TOptional
(
const OptionalType & InValue
)
TOptional(OptionalType &&)
| Name | TOptional |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Optional.h |
| Include Path | #include "Misc/Optional.h" |
constexpr TOptional
(
OptionalType && InValue
)
TOptional(FNullOpt)
Description
Construct an OptionalType with an invalid value.
| Name | TOptional |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Optional.h |
| Include Path | #include "Misc/Optional.h" |
constexpr TOptional
(
FNullOpt
)
TOptional(const TOptional &)
Description
Copy/Move construction
| Name | TOptional |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Optional.h |
| Include Path | #include "Misc/Optional.h" |
TOptional
(
const TOptional & Other
)
TOptional(TOptional &&)
| Name | TOptional |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Optional.h |
| Include Path | #include "Misc/Optional.h" |
TOptional
(
TOptional && Other
)
TOptional(EInPlace, ArgTypes &&...)
| Name | TOptional |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Optional.h |
| Include Path | #include "Misc/Optional.h" |
template<typename... ArgTypes>
constexpr TOptional
(
EInPlace ,
ArgTypes &&... Args
)