or_adaptor&lt;D,Iterator,SFn&gt;&amp; p2) { 
<a name="l00085"></a>00085     <span class="keywordflow">return</span> p1.<a class="code" href="g_i_l_0036.html#4d9de021528d2fae8de7b71dbc2e3909">step</a>()&gt;0 ? p1.base()&lt; p2.base() : p1.base()&gt; p2.base(); 
<a name="l00086"></a>00086 }
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> D,<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> 