BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Types | List of all members
fc::typelist::builder< List > Struct Template Reference

#include <typelist.hpp>

Public Types

template<typename NewType >
using add = typename builder< typename impl::concat< List, list< NewType > >::type >::type
 
template<typename NewList >
using add_list = typename builder< typename impl::concat< List, NewList >::type >::type
 
using type = builder
 
using finalize = List
 

Detailed Description

template<typename List = list<>>
struct fc::typelist::builder< List >

Template to build typelists using the following syntax:

builder<>::type::add<T1>::add<T2>::add<T3>[...]::finalize

Or:

builder<>::type::add_list<list<T1, T2>>::add_list<T3, T4>>[...]::finalize

Definition at line 161 of file typelist.hpp.

Member Typedef Documentation

◆ add

template<typename List = list<>>
template<typename NewType >
using fc::typelist::builder< List >::add = typename builder<typename impl::concat<List, list<NewType> >::type>::type

Definition at line 162 of file typelist.hpp.

◆ add_list

template<typename List = list<>>
template<typename NewList >
using fc::typelist::builder< List >::add_list = typename builder<typename impl::concat<List, NewList>::type>::type

Definition at line 163 of file typelist.hpp.

◆ finalize

template<typename List = list<>>
using fc::typelist::builder< List >::finalize = List

Definition at line 165 of file typelist.hpp.

◆ type

template<typename List = list<>>
using fc::typelist::builder< List >::type = builder

Definition at line 164 of file typelist.hpp.


The documentation for this struct was generated from the following file:
fc::typelist::builder::add
typename builder< typename impl::concat< List, list< NewType > >::type >::type add
Definition: typelist.hpp:162
fc::typelist::builder::add_list
typename builder< typename impl::concat< List, NewList >::type >::type add_list
Definition: typelist.hpp:163
fc::typelist::builder::finalize
List finalize
Definition: typelist.hpp:165