Files
UnrealEngineUWP/Engine/Source/Developer/UndoHistory
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
..