Is there a way in natvis to reinterpret a type to an already natvis-defined type ? or alias it ?
For example, I'd like to do this kind of "trick" (really necessary in my context even if that does sound really weird to you, it's a question of JIT symbol generation)
<Type Name="std::vector<*,*>">
<DisplayString>{*(stl1.dll!std::vector<$T0,$T1> *)this}</DisplayString>
</Type>
But it doesn't work to display the expand items, it just displays a string as value (which seems logical considering the 'DisplayString' role).
I've also tried with a SmartPointer
trick, it does better but it turns out it doesn't work when there is base classes involved (it only displays the SmartPointer type and ignore completely inheritance)