Files
UnrealEngineUWP/Engine/Source/Developer
markus breyer 5345f0f76e Removed template specialization TOptional<TNonNullPtr<OptionalType>> and replaced with the IntrusiveUnsetOptionalState mechanism instead
- so it behaves identically to the generic TOptional<T> and can be used in templates over TOptional<T> that expect consistent behavior regardless of T (e.g. the * operator will return T, the -> operator operates on T, not something inside of T)
- added convenience function T* GetRawPointerOrNull(const TOptional<TNonNullPtr<T>>&) to turn an `TOptional<TNonNullPtr<T>>` back into a nullable T*
- same for TOptional<TNonNullSubclassOf<T>>
- fixed up various use locations to adhere to the new behavior

#rb Steve.Robb
#rnx

[CL 33848151 by markus breyer in ue5-main branch]
2024-05-22 18:37:39 -04:00
..
2024-04-15 08:49:28 -04:00
2024-04-23 18:51:02 -04:00
2024-05-13 20:49:19 -04:00
2024-02-28 02:25:44 -05:00
2024-04-05 10:33:43 -04:00
2024-05-21 13:37:45 -04:00
2024-05-22 04:15:09 -04:00
2024-04-24 15:59:50 -04:00