vtk-m/vtkm/internal
David C. Lonie bc1b920741 Add macro to help pass commas into other macros.
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.
2017-06-29 09:51:07 -04:00
..
testing Respect VTK-m convention of parameters all or nothing on a line 2017-05-26 13:53:28 -04:00
.gitattributes clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
ArrayPortalUniformPointCoordinates.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
ArrayPortalValueReference.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
Assume.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
brigand.hpp Update brigand to get a chunk of msvc2013 fixes. 2016-09-27 09:02:39 -04:00
CMakeLists.txt Consistently include windows.h by making a wrapper header. 2016-11-28 09:54:37 -05:00
Configure.h.in Add macro to help pass commas into other macros. 2017-06-29 09:51:07 -04:00
ConfigureFor32.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
ConfigureFor64.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
ConnectivityStructuredInternals.h Respect VTK-m convention of parameters all or nothing on a line 2017-05-26 13:53:28 -04:00
ExportMacros.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
FunctionInterface.h Respect VTK-m convention of parameters all or nothing on a line 2017-05-26 13:53:28 -04:00
FunctionInterfaceDetailPost.h Make .in files match new formatting 2017-05-31 09:37:29 -06:00
FunctionInterfaceDetailPost.h.in Make .in files match new formatting 2017-05-31 09:37:29 -06:00
FunctionInterfaceDetailPre.h Make .in files match new formatting 2017-05-31 09:37:29 -06:00
FunctionInterfaceDetailPre.h.in Make .in files match new formatting 2017-05-31 09:37:29 -06:00
IndexTag.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
IntegerSequence.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00
Invocation.h Respect VTK-m convention of parameters all or nothing on a line 2017-05-26 13:53:28 -04:00
ListTagDetail.h Respect VTK-m convention of parameters all or nothing on a line 2017-05-26 13:53:28 -04:00
Windows.h clang-format: apply to the entire tree 2017-05-25 07:51:37 -04:00