Skip to content
  • David C. Lonie's avatar
    Add vtkTemplateTypeMacro, deprecate vtkTypeTemplate. · f49bbb76
    David C. Lonie authored
    vtkTypeTemplate was causing link issues on some platforms with the
    new AoS/SoA data array split, and the new macro is cleaner and more
    consistent with the regular style.
    
    The direct use of typeid(typename).name() is more efficient than the
    older local-static string cache used by vtkTypeTemplate. On GCC release
    builds, GetClassNameInternal now compiles to
    
    mov %eax, <static address in RO memory>
    ret
    f49bbb76