hpx/threading_base/annotated_function.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 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

function

template<typename F>
constexpr F &&annotated_function(F &&f, std::string const&) noexcept#
namespace traits
namespace util

Functions

template<typename F>
constexpr decltype(auto) annotated_function(F &&f, char const *name = nullptr) noexcept#
template<typename F>
constexpr decltype(auto) annotated_function(F &&f, std::string const &name) noexcept#