Documentation Home >> Headers >> <jss/experimental_future.hpp> Header >> std::experimental::shared_future >> std::experimental::shared_future Default Constructor

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

shared_future();

Effects:

Constructs a new std::experimental::shared_future instance.

Postconditions:

valid() returns false for the newly constructed instance.

Throws:

Nothing.

Header

#include <experimental/future>

See Also