Bitcoin Core 29.99.0
P2P Digital Currency
mp::Split< index, List, _First, done > Struct Template Reference

Type helper splitting a TypeList into two halves at position index. More...

Detailed Description

template<std::size_t index, typename List, typename _First = TypeList<>, bool done = index == 0>
struct mp::Split< index, List, _First, done >

Type helper splitting a TypeList into two halves at position index.

Example: is_same<TypeList<int, double>, Split<2, TypeList<int, double, float, bool>>::First> is_same<TypeList<float, bool>, Split<2, TypeList<int, double, float, bool>>::Second>

Definition at line 57 of file util.h.


The documentation for this struct was generated from the following file: