template <typename Mapper, typename... T>
void traverse_pack(Mapper&& mapper, T&&... pack)

Description

Traverses the pack with the given visitor. This function works in the same way as `map_pack`, however, the result of the mapper isn't preserved. See `map_pack` for a detailed description.

Declared at: libs/pika/pack_traversal/include/pika/pack_traversal/pack_traversal.hpp:81

Parameters

Mapper&& mapper
T&&... pack