vtk-m/vtkm/exec/internal/testing
Kenneth Moreland e9da343109 Handle Variant::Get for types not supported by the Variant
Previously, if you called `Get` on a `Variant` with a type that is not
in the list of types supported by the `Variant`, that would attempt to
look up the type at index `-1` and could spin the compiler into an
endless loop.

Instead, check for the case where you are attempting to get a type from
the `Variant` not listed in its templat arguments. In this case, instead
of producing a compiler error, produce a runtime error. Although this
increases the possibility that a bad compile path is being generated, it
simplifies creating templated code that produces cases we don't care
about.
2021-10-04 10:19:25 -06:00
..
CMakeLists.txt Make separate exec and cont versions of Variant 2020-11-09 12:48:10 -07:00
TestingTaskTiling.h relaxes ThreadIndicesType across multiple worklets fetchs 2020-04-24 17:39:31 -04:00
UnitTestErrorMessageBuffer.cxx conslidate the license statement 2019-04-17 10:57:13 -06:00
UnitTestTaskSingular.cxx clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
UnitTestVariant.cxx Handle Variant::Get for types not supported by the Variant 2021-10-04 10:19:25 -06:00
UnitTestWorkletInvokeFunctor.cxx relaxes ThreadIndicesType across multiple worklets fetchs 2020-04-24 17:39:31 -04:00