BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface 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

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.

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.

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

Definition at line 165 of file typelist.hpp.

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: