Jelajahi Sumber

natvis: expand meta_any as a meta_type_node

Michele Caini 4 tahun lalu
induk
melakukan
91a2b5a5f7
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      natvis/entt/meta.natvis

+ 3 - 0
natvis/entt/meta.natvis

@@ -3,6 +3,9 @@
 	<Type Name="entt::meta_any">
 		<DisplayString Condition="node != nullptr">{{ type={ node->info->alias,na }, policy={ storage.mode,en } }}</DisplayString>
 		<DisplayString>{{}}</DisplayString>
+		<Expand>
+			<ExpandedItem Condition="node != nullptr">*node</ExpandedItem>
+		</Expand>
 	</Type>
 	<Type Name="entt::meta_associative_container">
 		<DisplayString Condition="mapped_type_node != nullptr">{{ key_type={ key_type_node->info->alias,na }, mapped_type={ mapped_type_node->info->alias,na } }}</DisplayString>