hpx::ignore#

Defined in header hpx/tuple.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

See also:

constexpr hpx::detail::ignore_type hpx::ignore = {}#

An object of unspecified type such that any value can be assigned to it with no effect. Intended for use with hpx::tie when unpacking a hpx::tuple, as a placeholder for the arguments that are not used. While the behavior of hpx::ignore outside of hpx::tie is not formally specified, some code guides recommend using hpx::ignore to avoid warnings from unused return values of [[nodiscard]] functions.