Go to file
Kenneth Moreland c2d926fa49 Add tag-based type list templates
Provies a list of types in a template like boost::mpl::vector and a
method to call a functor on each type. However, rather than explicitly
list each type, uses tags to identify the list. This provides the
following main advantages:

1. Can use these type lists without creating horrendously long class
names based on them, making compiler errors easier to read. For example,
you would have a typename like MyClass<TypeListTagVectors> instead of
MyClass<TypeList<Id3,Vector2,Vector3,Vector4> > (or worse if variadic
templates are not supported). This is the main motivation for this
implementation.

2. Do not require variadic templates and usually few constructions. That
should speed compile times.

There is one main disadvantage to this approach: It is difficult to get
a printed list of items in a list during an error. If necessary, it
probably would not be too hard to make a template to convert a tag to a
boost mpl vector.
2014-03-31 17:45:52 -06:00
CMake Properly name the VTKm CMakeFiles. 2014-02-11 14:56:03 -05:00
docs revise the header guard naming convention to not conflict with macro names. 2014-03-07 10:22:36 -05:00
vtkm Add tag-based type list templates 2014-03-31 17:45:52 -06:00
CMakeLists.txt Add in the basic CMake Infrastructure required for vtkm. 2014-02-10 15:00:17 -05:00
LICENSE.txt Add a license to vtkm. 2014-02-10 15:00:17 -05:00
README.md Initial commit. 2014-02-04 15:08:03 -05:00

Welcome to vtkm design and hackathon.

Resources:

EAVL: https://github.com/jsmeredith/EAVL DAX: https://github.com/Kitware/DaxToolkit