• Kenneth Moreland's avatar
    Have VTKM_IS_TRIVIAL* macros show types better · bd5b84fa
    Kenneth Moreland authored
    Changed the definition of `VTKM_IS_TRIVIAL`,
    `VTKM_IS_TRIVIALLY_COPYABLE` and the like to use internal structs to do
    the static assert rather than have them do the static assert themselves.
    This makes the compiler more likely to tell you the actual type being
    checked rather. (At least, this was the case on my clang compiler.)
is_trivial.h 4.39 KB