Language:
Discover
By Skill Level
By Category

TFuture

Choose your OS:

Inheritance Hierarchy

TFutureBase

TFuture

Syntax

template<typename ResultType>
class TFuture : public TFutureBase< ResultType >

Remarks

Template for unshared futures.

Specializations

Constructors

Name Description

Public function

TFuture()

Default constructor.

Public function

TFuture

(
    const typename BaseType::StateType ...
)

Creates and initializes a new instance.

Public function

TFuture

(
    TFuture &&
)

Move constructor.

Destructors

Name Description

Public function

~TFuture()

Destructor.

Functions

Name Description

Public function

ResultType

 

Get()

Gets the future's result.

The result.

Public function

TSharedFutur ...

 

Share()

Moves this future's state into a shared future.

The shared future object.

Operators

Name Description

Public function

TFuture &

 

operator=

(
    TFuture && Other
)

Move assignment operator.

Typedefs

Name

Description

BaseType

References

Module

Core

Header

Runtime/Core/Public/Async/Future.h