1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <AutoVisualizer xmlns =" http://schemas.microsoft.com/vstudio/debugger/natvis/2010" >
3+ <!-- hud::memory_allocation<T> -->
4+ <Type Name =" hud::memory_allocation< *> " >
5+ <DisplayString >{{Size = { end_ptr - begin_ptr }}}</DisplayString >
6+ <Expand >
7+ <Item Name =" Size" >end_ptr - begin_ptr</Item >
8+ <ArrayItems >
9+ <Size > end_ptr - begin_ptr </Size >
10+ <ValuePointer > begin_ptr </ValuePointer >
11+ </ArrayItems >
12+ </Expand >
13+ </Type >
14+ <!-- hud::optional<T> -->
15+ <Type Name =" hud::optional< *> " >
16+ <DisplayString Condition =" some == true" >Value: {some_value}</DisplayString >
17+ <DisplayString Condition =" some == false" >None</DisplayString >
18+ </Type >
19+
20+ <!-- hud::compressed_pair<F,S> -->
21+ <Type Name =" hud::details::compressed_pair::compress_pair_impl< *, *, 0,0> " >
22+ <DisplayString >({this-> type_1_}, {this-> type_2_})</DisplayString >
23+ <Expand >
24+ <Item Name =" first" >type_1_</Item >
25+ <Item Name =" second" >type_2_</Item >
26+ </Expand >
27+ </Type >
28+ <Type Name =" hud::details::compressed_pair::compress_pair_impl< *, *, 1,0> " >
29+ <DisplayString >({*($T1*)this}, {this-> type_2_})</DisplayString >
30+ <Expand >
31+ <Item Name =" first" >($T1*)this</Item >
32+ <Item Name =" second" >type_2_</Item >
33+ </Expand >
34+ </Type >
35+ <Type Name =" hud::details::compressed_pair::compress_pair_impl< *, *, 0,1> " >
36+ <DisplayString >({{this-> type_1_}, *($T2*)this})</DisplayString >
37+ <Expand >
38+ <Item Name =" first" >type_1_</Item >
39+ <Item Name =" second" >($T2*)this</Item >
40+ </Expand >
41+ </Type >
42+ <Type Name =" hud::details::compressed_pair::compress_pair_impl< *, *, 1,1> " >
43+ <DisplayString >({*($T1*)this}, *($T2*)this})</DisplayString >
44+ <Expand >
45+ <Item Name =" first" >($T1*)this</Item >
46+ <Item Name =" second" >($T2*)this</Item >
47+ </Expand >
48+ </Type >
49+ <!-- hud::vector<T> -->
50+ <!-- <Type Name="hud::vector<*>">
51+ <DisplayString>{{Size = { end_ptr - begin_ptr }}}</DisplayString>
52+ <Expand>
53+ <Item Name="Size">end_ptr - begin_ptr</Item>
54+ <ArrayItems>
55+ <Size> end_ptr - begin_ptr </Size>
56+ <ValuePointer> begin_ptr </ValuePointer>
57+ </ArrayItems>
58+ </Expand>
59+ </Type> -->
60+ </AutoVisualizer >
0 commit comments