Natvis type alias feature similar to typedef

124 views Asked by At

I have some complex Item expressions where the type casts of nested template types are getting quite long and difficult to read. Is it possible to 'store' a type in the Natvis definition for reuse in the expression?

For example, in the following screenshot, the arrow is pointing to a type that I am casting to which is also being reused in the expression later. For readability and maintainability, it would be great if this can be aliased where we can then use the alias directly:

enter image description here

0

There are 0 answers