       allowing it to interface correctly with UTF-8, UTF-16, and UTF-32 data:
          </p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">BidirectionalIterator</span><span class="special">&gt;</span>
<span class="keyword">class</span> <span class="identifier">u32regex_iterator</span>
<span class="special">{</span>
   <span class="comment">// for members see regex_iterator</span>
<span class="sp