14#include "CoreMinimal.h"
46 FORCEINLINE
FOnce(
const FOnce& from) : bIsValid(from.bIsValid) {}
49 from.bIsValid =
false;
52 FORCEINLINE
operator bool()
54 const bool result = bIsValid;
52 FORCEINLINE
operator bool() {
…}
Used for lambdas which supposed to run only once. The first time it is converted to bool it returns t...
FORCEINLINE bool IsTriggered() const
FORCEINLINE FOnce(const FOnce &from)
FORCEINLINE FOnce(FOnce &&from) noexcept