13template<
typename ObjectType>
16 return Optional.IsSet() ?
static_cast<ObjectType*
>(
Optional.GetValue()) :
nullptr;
20template<
typename ObjectType>
23 return Optional.IsSet() ?
static_cast<ObjectType*
>(
Optional.GetValue()) :
nullptr;
28template<
typename ObjectType>
36template<
typename ObjectType>
44template<
typename ObjectType>
51template<
typename ObjectType>
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
auto GetTypeHash(const gsl::not_null< ObjectType > &NotNull) -> decltype(GetTypeHash(*NotNull))
Definition GSLNotNull.h:45
ObjectType * GetRawPointerOrNull(const TOptional< gsl::not_null< ObjectType * > > &Optional)
Definition GSLNotNull.h:14
FArchive & operator<<(FArchive &Ar, gsl::not_null< ObjectType > &NotNull)
Definition GSLNotNull.h:29
Definition Archive.h:1208
Definition Optional.h:131