KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches

◆ unique_index_sequence

template<bool... Bs>
using kumi::function::unique_index_sequence

#include <kumi/functional/set.hpp>

Initial value:
decltype(kumi_implementation_defined)

A helper alias template generating the index map associated to the unique operations.

Header file

#include <kumi/functional/set.hpp>

Call Signature

template<bool... Bs>
decltype(kumi_implementation_defined) unique_index_sequence
A helper alias template generating the index map associated to the unique operations.
Definition set.hpp:83

Template Parameters

  • Bs: Compile-time flags, one per input element, set to true when the element is kept

Return value

A std::index_sequence containing, in increasing order, the positions of the true flags in Bs. For Bs = <true, false, true, true>, the result is std::index_sequence<0, 2, 3>.