KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches
kumi::function::unique_index_sequence

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

Typedefs

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

Detailed Description

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

Typedef Documentation

◆ unique_index_sequence

template<bool... Bs>
using kumi::function::unique_index_sequence
Initial value:
decltype(kumi_implementation_defined)

Header file

#include <kumi/kumi.hpp>

Call Signature

namespace kumi::function
{
template<bool... Bs>
using unique_index_sequence = kumi_implementation_defined;
}
decltype(kumi_implementation_defined) unique_index_sequence
Definition set.hpp:98

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>.