![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Optional.h>
Inheritance diagram for TOptional< OptionalType >:Public Types | |
| using | ElementType = OptionalType |
Friends | |
| constexpr bool | operator== (const TOptional &Lhs, const TOptional &Rhs) |
| constexpr bool | operator!= (const TOptional &Lhs, const TOptional &Rhs) |
When we have an optional value IsSet() returns true, and GetValue() is meaningful. Otherwise GetValue() is not meaningful.
| using TOptional< OptionalType >::ElementType = OptionalType |
|
inlineconstexpr |
Construct an OptionalType with a valid value.
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
Construct an OptionalType with an invalid value.
|
inlineconstexpr |
Construct an OptionalType intrusively with no value; i.e. unset
|
inlineconstexpr |
Construct an OptionalType with no value; i.e. unset
|
constexprdefault |
|
inline |
Copy/Move construction
|
inline |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |