Documentation Home >> Headers >> <future> Header >> std::shared_future >> std::shared_future Default Constructor

Construct a std::shared_future object without an associated asynchronous result.

shared_future();

Effects:

Constructs a new std::shared_future instance.

Postconditions:

valid() returns false for the newly constructed instance.

Throws:

Nothing.

Header

#include <future>

See Also