Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
mp::Split< index, TypeList< Type, _Second... >, TypeList< _First... >, false > Struct Template Reference

Specialization of above (recursive case). More...

#include <util.h>

Public Types

using _Next = Split<index - 1, TypeList<_Second...>, TypeList<_First..., Type>>
using First = typename _Next::First
using Second = typename _Next::Second

Detailed Description

template<std::size_t index, typename Type, typename... _Second, typename... _First>
struct mp::Split< index, TypeList< Type, _Second... >, TypeList< _First... >, false >

Specialization of above (recursive case).

Definition at line 69 of file util.h.

Member Typedef Documentation

◆ _Next

template<std::size_t index, typename Type, typename... _Second, typename... _First>
using mp::Split< index, TypeList< Type, _Second... >, TypeList< _First... >, false >::_Next = Split<index - 1, TypeList<_Second...>, TypeList<_First..., Type>>

Definition at line 71 of file util.h.

◆ First

template<std::size_t index, typename Type, typename... _Second, typename... _First>
using mp::Split< index, TypeList< Type, _Second... >, TypeList< _First... >, false >::First = typename _Next::First

Definition at line 72 of file util.h.

◆ Second

template<std::size_t index, typename Type, typename... _Second, typename... _First>
using mp::Split< index, TypeList< Type, _Second... >, TypeList< _First... >, false >::Second = typename _Next::Second

Definition at line 73 of file util.h.


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