TSharedFuture< ResultType & >

Template for shared futures (specialization for reference types).

Windows
MacOS
Linux

Inheritance Hierarchy

TFutureBase

TSharedFuture< ResultType & >

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/Future.h

Include

#include "Async/Future.h"

Syntax

template<typename ResultType>
class TSharedFuture< ResultType & > : public TFutureBase< ResultType * >

Remarks

Template for shared futures (specialization for reference types).

Functions

Name Description

Public function

 

~TSharedFuture()

Destructor.

Public function Const

ResultType &

 

Get()

Gets the future's result.

Public function

 

TSharedFuture()

Default constructor.

Public function

 

TSharedFuture

(
    const typename BaseType::StateType ...
)

Creates and initializes a new instance.

Public function

 

TSharedFuture

(
    TFuture< ResultType >&& Future
)

Creates and initializes a new instances from a future object.

Public function

 

TSharedFuture

(
    const TSharedFuture&
)

Copy constructor.

Public function

 

TSharedFuture

(
    TSharedFuture&&
)

Move constructor.

Operators

Name Description

Public function

TSharedFutur...

 

operator=

(
    const TSharedFuture& Other
)

Copy assignment operator.

Public function

TSharedFutur...

 

operator=

(
    TSharedFuture&& Other
)

Move assignment operator.

Typedefs

Name

Description

BaseType

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss