Skip to content
Snippets Groups Projects
Forked from VTK / VTK
Source project has a limited visibility.
user avatar
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
History
Name Last commit Last update