mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 18:08:59 +00:00
bc1b920741
VTKM_PASS_COMMAS(...) will pass it's arguments verbatim into another macro, even if they contain commas. This is helpful when using templated classes, e.g. #define SOME_MACRO(arg) ... SOME_MACRO(vtkm::cont::ArrayHandle<float, StorageTag>) won't compile, because the comma in the template parameters is assumed to be separating macro arguments. Adding extra parenthesis, SOME_MACRO((vtkm::cont::ArrayHandle<float, StorageTag>)) helps in some cases, but not others (e.g. the macro declares a variable). SOME_MACRO(VTKM_PASS_COMMAS(vtkm::cont::ArrayHandle<float, StorageTag>)) will always* work. |
||
---|---|---|
.. | ||
testing | ||
.gitattributes | ||
ArrayPortalUniformPointCoordinates.h | ||
ArrayPortalValueReference.h | ||
Assume.h | ||
brigand.hpp | ||
CMakeLists.txt | ||
Configure.h.in | ||
ConfigureFor32.h | ||
ConfigureFor64.h | ||
ConnectivityStructuredInternals.h | ||
ExportMacros.h | ||
FunctionInterface.h | ||
FunctionInterfaceDetailPost.h | ||
FunctionInterfaceDetailPost.h.in | ||
FunctionInterfaceDetailPre.h | ||
FunctionInterfaceDetailPre.h.in | ||
IndexTag.h | ||
IntegerSequence.h | ||
Invocation.h | ||
ListTagDetail.h | ||
Windows.h |