mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-04 01:04:33 +00:00
Replace dependency on boost with a custom small vector (#13716)
This replaces ~70k LOC (parts of boost, 1/4th of the code in this project) with ~700 LOC (`small_vector.h`). By replacing boost, we simplify future maintenance and improve compile times. ## Validation Steps Performed * New and existing unit tests are ok ✅ * Various common VT applications run fine in debug mode OpenConsole ✅
This commit is contained in:
@@ -105,13 +105,23 @@
|
||||
<DisplayString>{{run of {_it->first,d} for {_it->second,d} at {_usage,d}}}</DisplayString>
|
||||
</Type>
|
||||
|
||||
<Type Name="boost::container::small_vector<*>">
|
||||
<Type Name="til::small_vector<*>">
|
||||
<DisplayString>{{ size={_size} }}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="[size]">m_holder.m_size</Item>
|
||||
<Item Name="[capacity]" ExcludeView="simple">_capacity</Item>
|
||||
<Item Name="[size]" ExcludeView="simple">_size</Item>
|
||||
<ArrayItems>
|
||||
<Size>m_holder.m_size</Size>
|
||||
<ValuePointer>m_holder.m_start</ValuePointer>
|
||||
<Size>_size</Size>
|
||||
<ValuePointer>_data</ValuePointer>
|
||||
</ArrayItems>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="til::small_vector_iterator<*>">
|
||||
<AlternativeType Name="til::small_vector_const_iterator<*>" />
|
||||
<SmartPointer Usage="Indexable">_ptr,na</SmartPointer>
|
||||
<Expand>
|
||||
<Item Name="[ptr]">_ptr</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
</AutoVisualizer>
|
||||
|
||||
Reference in New Issue
Block a user