Midge
v3.9.2
Data Processing Framework
|
The prototype class that gets replaced by a type. More...
#include <typechain.hh>
The prototype class that gets replaced by a type.
The type chain is a chain of inheritance based on the types and positions of those types in a type list.
The functionality will be illustrated with an example:
You start with a set of types: [int, float, char]
You have some prototype class that will be used for the inheritance: template< class _type, int _index > class my_prototype
You will effectively end up with this inheritance chain:
my_prototype< char, 2 > ^ | my_prototype< float, 1 > ^ | my_prototype< int, 0 >
I say "effectively" because the actual chain is somewhat more complicated. for each level of the chain you have:
Definition at line 36 of file typechain.hh.