vtk-m/vtkm/exec/internal
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
..
testing Handle Variant::Get for types not supported by the Variant 2021-10-04 10:19:25 -06:00
.gitattributes clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
CMakeLists.txt cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
ErrorMessageBuffer.h Correct symbol visibility issues found by ubsan testing 2019-09-11 08:30:49 -04:00
FastVec.h conslidate the license statement 2019-04-17 10:57:13 -06:00
ReduceByKeyLookup.h Add non-templated base class to Keys class. 2020-05-21 08:34:07 -06:00
TaskSingular.h Remove ArrayHandleStreaming capabilities 2020-03-24 15:01:56 -06:00
TwoLevelUniformGridExecutionObject.h Deprecate ArrayHandle::ExecutionTypes 2021-02-08 12:17:37 -07:00
Variant.h Make separate exec and cont versions of Variant 2020-11-09 12:48:10 -07:00
WorkletInvokeFunctorDetail.h relaxes ThreadIndicesType across multiple worklets fetchs 2020-04-24 17:39:31 -04:00
WorkletInvokeFunctorDetail.h.in relaxes ThreadIndicesType across multiple worklets fetchs 2020-04-24 17:39:31 -04:00