Created
July 15, 2024 22:17
-
-
Save BluBb-mADe/60108f44285345f02ad44b90aa9d8f54 to your computer and use it in GitHub Desktop.
A basic vizualizer for the boost container static vector. It's not great but its a lot better than nothing.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | |
<Type Name="boost::container::static_vector<*>"> | |
<DisplayString>{{ size={m_holder.m_size} }}</DisplayString> | |
<Expand> | |
<Item Name="[size]" ExcludeView="simple">m_holder.m_size</Item> | |
<Item Name="[capacity]" ExcludeView="simple">static_capacity</Item> | |
<ArrayItems> | |
<Size>m_holder.m_size</Size> | |
<ValuePointer>($T1*)m_holder.storage.data</ValuePointer> | |
</ArrayItems> | |
</Expand> | |
</Type> | |
</AutoVisualizer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment