5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
32 template <
class VisitorType>
43 static constexpr bool bIsVValue = std::is_same_v<T, VValue>;
44 using TValue =
typename std::conditional<bIsVValue, VValue, T*>::type;
58 template <
typename TResult =
void>
61 Impl->SetNonCellNorPlaceholder(NewValue);
64 TValue
Get()
const {
return Impl->Get(); }
69 template <
typename TResult = TValue>
70 std::enable_if_t<!bIsVValue, TResult> operator->()
const {
return Impl->Get(); }
72 template <
typename TResult = T>
73 std::enable_if_t<!bIsVValue, TResult&>
operator*()
const {
return *
Impl->Get(); }
75 explicit operator bool()
const {
return !!
Impl->Get(); }
UE_FORCEINLINE_HINT FLinearColor operator*(float Scalar, const FLinearColor &Color)
Definition Color.h:473
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
decltype(auto) Visit(Func &&Callable, Variants &&... Args)
Definition TVariant.h:271
@ Visitor
Definition XmppMultiUserChat.h:94
Definition ExpressionParserTypes.h:21
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426
decltype(auto) VisitImpl(SIZE_T EncodedIndex, Func &&Callable, TIntegerSequence< SIZE_T, EncodedIndices... > &&, TIntegerSequence< SIZE_T, VariantIndices... > &&VariantIndicesSeq, Variants &&... Args)
Definition TVariantMeta.h:377