hpx::annotated_function#

Defined in header hpx/functional.hpp.

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

namespace hpx

Functions

template<typename F> constexpr HPX_CXX_EXPORT F && annotated_function (F &&f, char const *=nullptr) noexcept

Returns a function annotated with the given annotation.

Annotating includes setting the thread description per thread id.

Parameters

f – Function to annotate

template<typename F> constexpr HPX_CXX_EXPORT F && annotated_function (F &&f, std::string const &) noexcept