..
    Copyright (c) 2020 The STE||AR-Group

    SPDX-License-Identifier: BSL-1.0
    Distributed under the Boost Software License, Version 1.0. (See accompanying
    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

.. _modules_futures:

=======
futures
=======

This module defines the :hpx:class:`hpx::future` and
:hpx:class:`hpx::shared_future` classes corresponding to the C++ standard
library classes :cppreference-generic:`thread,future` and
:cppreference-generic:`thread,shared_future`. Note that the
specializations of :hpx:func:`hpx::future::then` for executors and
execution policies are defined in the :ref:`modules_execution` module.

See the :ref:`API reference <modules_futures_api>` of this module for more
details.
