A template helper class to provide an easier syntax for allowing certain field types to be accepted by this fish. More...
#include <FiberType.hpp>
A template helper class to provide an easier syntax for allowing certain field types to be accepted by this fish.
Use a syntax like this in your code:
TypeList_t AcceptedFields; void addTypes() { AcceptType<float> a( AcceptedFields ); AcceptType<double>b( AcceptedFields ); }
AcceptType< T >::AcceptType | ( | Fiber::TypeList_t & | TL | ) | [inline] |
Pseudo-constructor: The object itself here is not used at all.
The constructor only calls global functions, and inserts the template class argument into the given typelist, with no member functions or data members are set or touched. This constructor is no more than an interface to the TypeList_t::insert() function, with an alternative, little more convenient, syntax.