</li>
</ul>

<h2><a name="example1">Example 1: basic usage</a></h2>

<p>
See <a href="../example/basic.cpp">source code</a>.
</p>

<p>
Dummy program showing the basic capabilities of <code>flyweight</code>
explained at the <a href="tutorial/basics.html">tutorial</a>.
</p>

<h2><a name="example2">Example 2: key-value flyweights</a></h2>

<p>
See <a href="../example/key_value.cpp">source code</a>.
</p>

<p>
The program simulates the scenario described at the tutorial section on
<a href="tutorial/key_value.htm