~ubuntu-branches/ubuntu/trusty/bmagic/trusty

« back to all changes in this revision

Viewing changes to doc/html/a00005.html

  • Committer: Bazaar Package Importer
  • Author(s): Roberto C. Sanchez
  • Date: 2010-04-08 16:47:58 UTC
  • mfrom: (4.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100408164758-3vu6wmrk1dnzqnnj
Tags: 3.6.4-1
* New upstream release
* Update to Standards-Version 3.8.4 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
<span class="preprocessor">#include &lt;iostream&gt;</span>
62
62
<span class="preprocessor">#include &lt;algorithm&gt;</span>
63
 
<span class="preprocessor">#include &quot;<a class="code" href="a00087.html">bm.h</a>&quot;</span>
 
63
<span class="preprocessor">#include &quot;<a class="code" href="a00088.html">bm.h</a>&quot;</span>
64
64
 
65
65
<span class="keyword">using namespace </span>std;
66
66
 
67
 
<span class="keywordtype">void</span> <a name="a0"></a><a class="code" href="a00110.html#a80085d7c877f4c6f36d10c67dc163845">Print</a>(<span class="keywordtype">unsigned</span> n)
 
67
<span class="keywordtype">void</span> <a name="a0"></a><a class="code" href="a00111.html#a80085d7c877f4c6f36d10c67dc163845">Print</a>(<span class="keywordtype">unsigned</span> n)
68
68
{
69
69
    cout &lt;&lt; n &lt;&lt; endl;;
70
70
}
71
71
 
72
 
<span class="keywordtype">int</span> <a name="a1"></a><a class="code" href="a00105.html#a840291bc02cba5474a4cb46a9b9566fe">main</a>(<span class="keywordtype">void</span>)
 
72
<span class="keywordtype">int</span> <a name="a1"></a><a class="code" href="a00106.html#a840291bc02cba5474a4cb46a9b9566fe">main</a>(<span class="keywordtype">void</span>)
73
73
{
74
74
    <a name="_a2"></a><a class="code" href="a00044.html" title="bitvector with runtime compression of bits.">bm::bvector&lt;&gt;</a>   bv;    
75
75
 
93
93
    <span class="comment">// which is expensive for enumerators.</span>
94
94
    <span class="comment">// But it can be useful for some STL loyal applications. </span>
95
95
 
96
 
    std::for_each(en, en_end, <a class="code" href="a00110.html#a80085d7c877f4c6f36d10c67dc163845">Print</a>);
 
96
    std::for_each(en, en_end, <a class="code" href="a00111.html#a80085d7c877f4c6f36d10c67dc163845">Print</a>);
97
97
 
98
98
    <span class="keywordflow">return</span> 0;
99
99
}
100
100
</pre></div> </div>
101
 
<hr size="1"/><address style="text-align: right;"><small>Generated on Fri Jan 8 20:09:19 2010 for BitMagic by&nbsp;
 
101
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Mar 23 20:47:54 2010 for BitMagic by&nbsp;
102
102
<a href="http://www.doxygen.org/index.html">
103
103
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
104
104
</body>