1
0
Эх сурвалжийг харах

natvis: basic_view (single and multi type)

Michele Caini 4 жил өмнө
parent
commit
052aecf533

+ 7 - 0
natvis/entt/entity.natvis

@@ -89,6 +89,13 @@
 			</IndexListItems>
 			</IndexListItems>
 		</Expand>
 		</Expand>
 	</Type>
 	</Type>
+	<Type Name="entt::basic_view&lt;*&gt;">
+		<DisplayString>{{ size_hint={ view->packed.size() } }}</DisplayString>
+		<Expand>
+			<Item Name="[pools]">pools,na</Item>
+			<Item Name="[filter]">filter,na</Item>
+		</Expand>
+	</Type>
 	<Type Name="entt::null_t">
 	<Type Name="entt::null_t">
 		<DisplayString>&lt;null&gt;</DisplayString>
 		<DisplayString>&lt;null&gt;</DisplayString>
 	</Type>
 	</Type>