Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS2022 + other PRs merged + boost::static_string #43

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CPPDebuggerVisualizers.VS2022.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31825.309
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CPPDebuggerVisualizers.VS2022", "VS2022\CPPDebuggerVisualizers.VS2022.csproj", "{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Debug|x86.ActiveCfg = Debug|x86
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Debug|x86.Build.0 = Debug|x86
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Release|Any CPU.Build.0 = Release|Any CPU
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Release|x86.ActiveCfg = Release|x86
{D7B13A2C-83D8-4990-83CD-9BEFC36BC80D}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C793AD0F-C134-4138-ADF6-37723B848148}
EndGlobalSection
EndGlobal
4 changes: 4 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Legend:
* Changed
! Fixed

1.0.23 - 03.11.2021
=========================
* Updated version for Visual Studio 2022

1.0.22 - 20.06.2020
=========================
* Updated version for Visual Studio 2017
Expand Down
39 changes: 1 addition & 38 deletions VS2017/Visualizers/boost.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -388,44 +388,7 @@
</Type>

<Type Name="boost::uuids::uuid">
<DisplayString LegacyAddin="CPPDebuggerVisualizersNatvisAddIn.dll" Export="BoostUuidFormatter" />
<Expand>
<Synthetic Name="variant" Condition="(data[8] &amp; 0x80) == 0x00 &amp;&amp; (data[8] &amp; 0xC0) != 0x80
&amp;&amp; (data[8] &amp; 0xE0) != 0xC0">
<DisplayString>ncs</DisplayString>
</Synthetic>
<Synthetic Name="variant" Condition="(data[8] &amp; 0xE0) != 0xC0 &amp;&amp; (data[8] &amp; 0xC0) == 0x80
&amp;&amp; (data[8] &amp; 0xE0) != 0xC0">
<DisplayString>rfc 4122</DisplayString>
</Synthetic>
<Synthetic Name="variant" Condition="(data[8] &amp; 0xE0) != 0xC0 &amp;&amp; (data[8] &amp; 0xC0) != 0x80
&amp;&amp; (data[8] &amp; 0xE0) == 0xC0">
<DisplayString>microsoft</DisplayString>
</Synthetic>
<Synthetic Name="variant" Condition="(data[8] &amp; 0xE0) != 0xC0 &amp;&amp; (data[8] &amp; 0xC0) != 0x80
&amp;&amp; (data[8] &amp; 0xE0) != 0xC0">
<DisplayString>future</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x10">
<DisplayString>time based</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x20">
<DisplayString>dce security</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x30">
<DisplayString>name based md5</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x40">
<DisplayString>random number based</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x50">
<DisplayString>name based sha1</DisplayString>
</Synthetic>
<ArrayItems>
<Size>16</Size>
<ValuePointer>data,x</ValuePointer>
</ArrayItems>
</Expand>
<DisplayString>{((((uint32_t)data[3] &amp; 0xFF)) + (((uint32_t)data[2] &amp; 0xFF) &lt;&lt; 8) + (((uint32_t)data[1] &amp; 0xFF) &lt;&lt; 16) + (((uint32_t)data[0] &amp; 0xFF) &lt;&lt; 24)),xb} - {((((uint32_t)data[7] &amp; 0xFF)) + (((uint32_t)data[6] &amp; 0xFF) &lt;&lt; 8) + (((uint32_t)data[5] &amp; 0xFF) &lt;&lt; 16) + (((uint32_t)data[4] &amp; 0xFF) &lt;&lt; 24)),xb} - {((((uint32_t)data[11] &amp; 0xFF)) + (((uint32_t)data[10] &amp; 0xFF) &lt;&lt; 8) + (((uint32_t)data[9] &amp; 0xFF) &lt;&lt; 16) + (((uint32_t)data[8] &amp; 0xFF) &lt;&lt; 24)),xb} - {((((uint32_t)data[15] &amp; 0xFF)) + (((uint32_t)data[14] &amp; 0xFF) &lt;&lt; 8) + (((uint32_t)data[13] &amp; 0xFF) &lt;&lt; 16) + (((uint32_t)data[12] &amp; 0xFF) &lt;&lt; 24)),xb}</DisplayString>
</Type>

<Type Name="boost::value_initialized&lt;*&gt;">
Expand Down
21 changes: 10 additions & 11 deletions VS2017/Visualizers/boost_MultiIndex.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@
</Expand>
</Type>

<Type Name="boost::multi_index::detail::header_holder&lt;boost::multi_index::detail::hashed_index_node&lt;*,*&gt;*,*&gt;">
<DisplayString>{{ size={(($T3*)this)-&gt;node_count} }}</DisplayString>
<Type Name="boost::multi_index::detail::header_holder&lt;boost::multi_index::detail::hashed_index_node&lt;*&gt;*,*&gt;">
<DisplayString>{{ size={(($T2*)this)-&gt;node_count} }}</DisplayString>
<Expand>
<!--Easier to take size from auto_space<...> since it always +1 from real size-->
<Item Name="[buckets]" IncludeView="detailed">(($T3*)this)-&gt;buckets.spc.n_ - 1</Item>
<Item Name="[max_load]" IncludeView="detailed">(($T3*)this)-&gt;max_load</Item>
<Item Name="[max_load_factor]" IncludeView="detailed">(($T3*)this)-&gt;mlf</Item>
<Item Name="[key_eq]" IncludeView="detailed">(($T3*)this)-&gt;eq_</Item>
<Item Name="[hash_function]" IncludeView="detailed">(($T3*)this)-&gt;hash_</Item>
<Item Name="[buckets]" IncludeView="detailed">(($T2*)this)-&gt;buckets.spc.n_ - 1</Item>
<Item Name="[max_load]" IncludeView="detailed">(($T2*)this)-&gt;max_load</Item>
<Item Name="[max_load_factor]" IncludeView="detailed">(($T2*)this)-&gt;mlf</Item>
<Item Name="[key_eq]" IncludeView="detailed">(($T2*)this)-&gt;eq_</Item>
<Item Name="[hash_function]" IncludeView="detailed">(($T2*)this)-&gt;hash_</Item>
<CustomListItems>
<Variable Name="NumBuckets" InitialValue="(($T3*)this)-&gt;buckets.spc.n_ - 1"/>
<Variable Name="NumBuckets" InitialValue="(($T2*)this)-&gt;buckets.spc.n_ - 1"/>
<Variable Name="BucketIndex" InitialValue="0"/>
<Variable Name="NodePtr" InitialValue="(boost::multi_index::detail::hashed_index_node_trampoline&lt;$T1&gt;*)nullptr"/>

Expand All @@ -73,12 +73,11 @@
<Break Condition="BucketIndex == NumBuckets"/>

<!-- If bucket is not empty -->
<Exec>NodePtr = (boost::multi_index::detail::hashed_index_node_trampoline&lt;$T1&gt;*)((((($T3*)this)-&gt;buckets.spc.data_ + BucketIndex))-&gt;prior_)</Exec>
<Exec>NodePtr = (boost::multi_index::detail::hashed_index_node_trampoline&lt;$T1&gt;*)((((($T2*)this)-&gt;buckets.spc.data_ + BucketIndex))-&gt;prior_)</Exec>
<If Condition="NodePtr != nullptr">
<!-- Let's iterate over its nodes -->
<Loop>
<Item>*reinterpret_cast&lt;$T3::value_type*&gt;(&amp;(((boost::multi_index::detail::hashed_index_node&lt;$T1,$T2&gt;*)NodePtr))-&gt;space)</Item>

<Item>*reinterpret_cast&lt;$T2::value_type*&gt;(&amp;(((boost::multi_index::detail::hashed_index_node&lt;$T1&gt;*)NodePtr))-&gt;space)</Item>
<!-- Tricky (but legal) check that node is last -->
<Break Condition="NodePtr-&gt;next_-&gt;prior_ != NodePtr"/>
<Exec>NodePtr = (boost::multi_index::detail::hashed_index_node_trampoline&lt;$T1&gt;*)(NodePtr-&gt;next_)</Exec>
Expand Down
62 changes: 62 additions & 0 deletions VS2017/Visualizers/boost_Unordered.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,68 @@
</Expand>
</Type>

<!-- boost >= 1.80 -->
<Type Name="boost::unordered::detail::table_impl&lt;boost::unordered::detail::map&lt;*,*,*&gt;&gt;" ExcludeView="ShowElementsByIndex" Priority="MediumHigh">
<AlternativeType Name="boost::unordered::detail::table&lt;boost::unordered::detail::map&lt;*,*,*&gt;&gt;" />
<!-- boost >= 1.66 -->
<Intrinsic Name="reset_first_bits_" Category="Method" Expression="~(~(size_t(0)) &gt;&gt; (sizeof(n) * 8 - n))">
<Parameter Name="n" Type="size_t" />
</Intrinsic>
<!-- -->
<Intrinsic Category="Property" Name="bucket_group_N" Expression="buckets_.groups->N"/>
<Intrinsic Category="Method" Name="mod37_00_07" Expression="uint64_t(7625122164834336)" />
<Intrinsic Category="Method" Name="mod37_08_15" Expression="uint64_t(936760937884946435)" />
<Intrinsic Category="Method" Name="mod37_16_23" Expression="uint64_t(1089613931478058756)" />
<Intrinsic Category="Method" Name="mod37_24_31" Expression="uint64_t(652482085860936221)" />
<Intrinsic Category="Method" Name="mod37_32_39" Expression="uint64_t(77628707845)" />
<Intrinsic Name="get_octet_byte" Category="Method" Expression="(octet &gt;&gt; (byte_n*8)) &amp; 0xFF">
<Parameter Name="octet" Type="uint64_t" />
<Parameter Name="byte_n" Type="size_t" />
</Intrinsic>
<Intrinsic Name="get_mod37_pos" Category="Method" Expression="( -(int32_t)x &amp; x ) % 37">
<Parameter Name="x" Type="uint32_t" />
</Intrinsic>
<Intrinsic Name="get_octet" Category="Method" Expression="pos &lt; 8 ? mod37_00_07() : (pos &lt; 16 ? mod37_08_15() : (pos &lt; 24 ? mod37_16_23() : (pos &lt; 32 ? mod37_24_31() : mod37_32_39())))">
<Parameter Name="pos" Type="int" />
</Intrinsic>
<Intrinsic Name="countr_zero_32_" Category="Method" Expression="get_octet_byte(get_octet(pos), pos % 8)">
<Parameter Name="pos" Type="uint32_t" />
</Intrinsic>
<Intrinsic Name="countr_zero_32" Category="Method" Expression="countr_zero_32_(get_mod37_pos(n)) ">
<Parameter Name="n" Type="uint32_t" />
</Intrinsic>
<Intrinsic Name="countr_zero" Category="Method" Expression="(n &amp; 0xFFFFFFFF) == 0? 32 + countr_zero_32(n &gt;&gt; 32) : countr_zero_32(n)">
<Parameter Name="n" Type="size_t" />
</Intrinsic>
<DisplayString>{{ size={size_} }}</DisplayString>
<Expand>
<CustomListItems>
<Variable Name="N" InitialValue="buckets_.groups->N" />
<Variable Name="pbg" InitialValue="&amp;buckets_.groups[buckets_.size_/bucket_group_N()]" />
<Variable Name="pbg_p" InitialValue="&amp;buckets_.buckets[buckets_.size_]" />
<!--boost::unordered::detail::bucket<Node_T,void *> -->
<Variable Name="node_p" InitialValue="pbg_p-&gt;next" />
<Variable Name="gb_inc_n" InitialValue="size_t(0)"/>

<Loop>
<If Condition="node_p == nullptr">
<Exec>gb_inc_n=countr_zero(pbg->bitmask &amp; reset_first_bits_(pbg_p - pbg->buckets + 1))</Exec>
<If Condition="gb_inc_n &lt; N">
<Exec>pbg_p = pbg->buckets + gb_inc_n</Exec>
</If>
<If Condition="gb_inc_n &gt;= N">
<Exec>pbg = pbg-&gt;next</Exec>
<Exec>pbg_p = pbg->buckets + countr_zero(pbg->bitmask)</Exec>
</If>
<Exec>node_p = pbg_p->next</Exec>
</If>
<Break Condition="node_p == nullptr" />
<Item Name="[{(*((std::pair&lt;$T2 const ,$T3&gt;*)node_p-&gt;buf.data_.buf)).first}]">*((std::pair&lt;$T2 const ,$T3&gt;*)node_p-&gt;buf.data_.buf),view(MapHelper)</Item>
<Exec>node_p = node_p->next</Exec>
</Loop>
</CustomListItems>
</Expand>
</Type>
<!-- boost < 1.58 -->
<Type Name="boost::unordered::detail::grouped_table_impl&lt;boost::unordered::detail::multimap&lt;*,*,*&gt;&gt;" Priority="MediumLow">
<DisplayString>{{ size={size_} }}</DisplayString>
Expand Down
39 changes: 1 addition & 38 deletions VS2019/Visualizers/boost.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -388,44 +388,7 @@
</Type>

<Type Name="boost::uuids::uuid">
<DisplayString LegacyAddin="CPPDebuggerVisualizersNatvisAddIn.dll" Export="BoostUuidFormatter" />
<Expand>
<Synthetic Name="variant" Condition="(data[8] &amp; 0x80) == 0x00 &amp;&amp; (data[8] &amp; 0xC0) != 0x80
&amp;&amp; (data[8] &amp; 0xE0) != 0xC0">
<DisplayString>ncs</DisplayString>
</Synthetic>
<Synthetic Name="variant" Condition="(data[8] &amp; 0xE0) != 0xC0 &amp;&amp; (data[8] &amp; 0xC0) == 0x80
&amp;&amp; (data[8] &amp; 0xE0) != 0xC0">
<DisplayString>rfc 4122</DisplayString>
</Synthetic>
<Synthetic Name="variant" Condition="(data[8] &amp; 0xE0) != 0xC0 &amp;&amp; (data[8] &amp; 0xC0) != 0x80
&amp;&amp; (data[8] &amp; 0xE0) == 0xC0">
<DisplayString>microsoft</DisplayString>
</Synthetic>
<Synthetic Name="variant" Condition="(data[8] &amp; 0xE0) != 0xC0 &amp;&amp; (data[8] &amp; 0xC0) != 0x80
&amp;&amp; (data[8] &amp; 0xE0) != 0xC0">
<DisplayString>future</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x10">
<DisplayString>time based</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x20">
<DisplayString>dce security</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x30">
<DisplayString>name based md5</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x40">
<DisplayString>random number based</DisplayString>
</Synthetic>
<Synthetic Name="version" Condition="(data[6] &amp; 0xF0) == 0x50">
<DisplayString>name based sha1</DisplayString>
</Synthetic>
<ArrayItems>
<Size>16</Size>
<ValuePointer>data,x</ValuePointer>
</ArrayItems>
</Expand>
<DisplayString>{((((uint32_t)data[3] &amp; 0xFF)) + (((uint32_t)data[2] &amp; 0xFF) &lt;&lt; 8) + (((uint32_t)data[1] &amp; 0xFF) &lt;&lt; 16) + (((uint32_t)data[0] &amp; 0xFF) &lt;&lt; 24)),xb} - {((((uint32_t)data[7] &amp; 0xFF)) + (((uint32_t)data[6] &amp; 0xFF) &lt;&lt; 8) + (((uint32_t)data[5] &amp; 0xFF) &lt;&lt; 16) + (((uint32_t)data[4] &amp; 0xFF) &lt;&lt; 24)),xb} - {((((uint32_t)data[11] &amp; 0xFF)) + (((uint32_t)data[10] &amp; 0xFF) &lt;&lt; 8) + (((uint32_t)data[9] &amp; 0xFF) &lt;&lt; 16) + (((uint32_t)data[8] &amp; 0xFF) &lt;&lt; 24)),xb} - {((((uint32_t)data[15] &amp; 0xFF)) + (((uint32_t)data[14] &amp; 0xFF) &lt;&lt; 8) + (((uint32_t)data[13] &amp; 0xFF) &lt;&lt; 16) + (((uint32_t)data[12] &amp; 0xFF) &lt;&lt; 24)),xb}</DisplayString>
</Type>

<Type Name="boost::value_initialized&lt;*&gt;">
Expand Down
29 changes: 29 additions & 0 deletions VS2019/Visualizers/boost_Containers.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -525,4 +525,33 @@
</Expand>
</Type>

<!-- boost 1.73 >= -->
<Type Name="boost::static_strings::basic_static_string&lt;*,char,*&gt;" Priority="Medium">
<DisplayString>{data_,s}</DisplayString>
<StringView>data_,s</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">(int)size_</Item>
<Item Name="[capacity]" ExcludeView="simple">(int)$T1</Item>
<ArrayItems>
<Size>size_</Size>
<ValuePointer>data_</ValuePointer>
</ArrayItems>
</Expand>
</Type>

<!-- boost 1.73 >= -->
<Type Name="boost::static_strings::basic_static_string&lt;*,unsigned short,*&gt;" Priority="Medium">
<AlternativeType Name="boost::static_strings::basic_static_string&lt;*,wchar_t,*&gt;" />
<DisplayString>{data_,su}</DisplayString>
<StringView>data_,su</StringView>
<Expand>
<Item Name="[size]" ExcludeView="simple">(int)size_</Item>
<Item Name="[capacity]" ExcludeView="simple">(int)$T1</Item>
<ArrayItems>
<Size>size_</Size>
<ValuePointer>data_</ValuePointer>
</ArrayItems>
</Expand>
</Type>

</AutoVisualizer>
21 changes: 10 additions & 11 deletions VS2019/Visualizers/boost_MultiIndex.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@
</Expand>
</Type>

<Type Name="boost::multi_index::detail::header_holder&lt;boost::multi_index::detail::hashed_index_node&lt;*,*&gt;*,*&gt;">
<DisplayString>{{ size={(($T3*)this)-&gt;node_count} }}</DisplayString>
<Type Name="boost::multi_index::detail::header_holder&lt;boost::multi_index::detail::hashed_index_node&lt;*&gt;*,*&gt;">
<DisplayString>{{ size={(($T2*)this)-&gt;node_count} }}</DisplayString>
<Expand>
<!--Easier to take size from auto_space<...> since it always +1 from real size-->
<Item Name="[buckets]" IncludeView="detailed">(($T3*)this)-&gt;buckets.spc.n_ - 1</Item>
<Item Name="[max_load]" IncludeView="detailed">(($T3*)this)-&gt;max_load</Item>
<Item Name="[max_load_factor]" IncludeView="detailed">(($T3*)this)-&gt;mlf</Item>
<Item Name="[key_eq]" IncludeView="detailed">(($T3*)this)-&gt;eq_</Item>
<Item Name="[hash_function]" IncludeView="detailed">(($T3*)this)-&gt;hash_</Item>
<Item Name="[buckets]" IncludeView="detailed">(($T2*)this)-&gt;buckets.spc.n_ - 1</Item>
<Item Name="[max_load]" IncludeView="detailed">(($T2*)this)-&gt;max_load</Item>
<Item Name="[max_load_factor]" IncludeView="detailed">(($T2*)this)-&gt;mlf</Item>
<Item Name="[key_eq]" IncludeView="detailed">(($T2*)this)-&gt;eq_</Item>
<Item Name="[hash_function]" IncludeView="detailed">(($T2*)this)-&gt;hash_</Item>
<CustomListItems>
<Variable Name="NumBuckets" InitialValue="(($T3*)this)-&gt;buckets.spc.n_ - 1"/>
<Variable Name="NumBuckets" InitialValue="(($T2*)this)-&gt;buckets.spc.n_ - 1"/>
<Variable Name="BucketIndex" InitialValue="0"/>
<Variable Name="NodePtr" InitialValue="(boost::multi_index::detail::hashed_index_node_trampoline&lt;$T1&gt;*)nullptr"/>

Expand All @@ -73,12 +73,11 @@
<Break Condition="BucketIndex == NumBuckets"/>

<!-- If bucket is not empty -->
<Exec>NodePtr = (boost::multi_index::detail::hashed_index_node_trampoline&lt;$T1&gt;*)((((($T3*)this)-&gt;buckets.spc.data_ + BucketIndex))-&gt;prior_)</Exec>
<Exec>NodePtr = (boost::multi_index::detail::hashed_index_node_trampoline&lt;$T1&gt;*)((((($T2*)this)-&gt;buckets.spc.data_ + BucketIndex))-&gt;prior_)</Exec>
<If Condition="NodePtr != nullptr">
<!-- Let's iterate over its nodes -->
<Loop>
<Item>*reinterpret_cast&lt;$T3::value_type*&gt;(&amp;(((boost::multi_index::detail::hashed_index_node&lt;$T1,$T2&gt;*)NodePtr))-&gt;space)</Item>

<Item>*reinterpret_cast&lt;$T2::value_type*&gt;(&amp;(((boost::multi_index::detail::hashed_index_node&lt;$T1&gt;*)NodePtr))-&gt;space)</Item>
<!-- Tricky (but legal) check that node is last -->
<Break Condition="NodePtr-&gt;next_-&gt;prior_ != NodePtr"/>
<Exec>NodePtr = (boost::multi_index::detail::hashed_index_node_trampoline&lt;$T1&gt;*)(NodePtr-&gt;next_)</Exec>
Expand Down
Loading