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

Description

Returns a function annotated with the given annotation.

//////////////////////////////////////////////////////////////////////// Annotating includes setting the thread description per thread id.

Declared at: libs/pika/threading_base/include/pika/threading_base/annotated_function.hpp:130

Parameters

F&& f
const char* = nullptr