Sfoglia il codice sorgente

natvis: add optiona storage length item for entity storage

Michele Caini 3 anni fa
parent
commit
a1b888cce6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      natvis/entt/entity.natvis

+ 1 - 0
natvis/entt/entity.natvis

@@ -113,6 +113,7 @@
 		<Expand>
 			<Item Name="[capacity]" Optional="true" ExcludeView="simple">payload.capacity() * traits_type::page_size</Item>
 			<Item Name="[page size]" Optional="true" ExcludeView="simple">traits_type::page_size</Item>
+			<Item Name="[length]" Optional="true" ExcludeView="simple">length</Item>
 			<Item Name="[base]" ExcludeView="simple">(base_type*)this,nand</Item>
 			<Item Name="[base]" IncludeView="simple">(base_type*)this,view(simple)nand</Item>
 			<!-- having SFINAE-like techniques in natvis is priceless :) -->