BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Static Public Attributes | List of all members
fc::typelist::impl::index_of< Search, list< T, Ts... > > Struct Template Reference

#include <typelist.hpp>

Static Public Attributes

constexpr static int deeper = index_of<Search, list<Ts...>>::value
 
constexpr static int value = std::is_same<Search, T>::value? 0 : (deeper == -1? -1 : deeper + 1)
 

Detailed Description

template<typename Search, typename T, typename... Ts>
struct fc::typelist::impl::index_of< Search, list< T, Ts... > >

Definition at line 60 of file typelist.hpp.

Member Data Documentation

◆ deeper

template<typename Search , typename T , typename... Ts>
constexpr static int fc::typelist::impl::index_of< Search, list< T, Ts... > >::deeper = index_of<Search, list<Ts...>>::value
staticconstexpr

Definition at line 61 of file typelist.hpp.

◆ value

template<typename Search , typename T , typename... Ts>
constexpr static int fc::typelist::impl::index_of< Search, list< T, Ts... > >::value = std::is_same<Search, T>::value? 0 : (deeper == -1? -1 : deeper + 1)
staticconstexpr

Definition at line 62 of file typelist.hpp.


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