| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN"> |
| |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <title>Boost.Flyweight Documentation - Index</title> |
| <link rel="stylesheet" href="style.css" type="text/css"> |
| <link rel="start" href="index.html"> |
| <link rel="next" href="tutorial/index.html"> |
| </head> |
| |
| <body> |
| <h1><img src="../../../boost.png" alt="Boost logo" align= |
| "middle" width="277" height="86">Boost Flyweight Library</h1> |
| |
| <div class="prev_link"></div> |
| <div class="up_link"></div> |
| <div class="next_link"><a href="tutorial/index.html"><img src="next.gif" alt="tutorial" border="0"><br> |
| Tutorial |
| </a></div><br clear="all" style="clear: all;"> |
| |
| <hr> |
| |
| <p> |
| Flyweights are small-sized handle classes granting constant access to shared |
| common data, thus allowing for the management of large amounts of entities |
| within reasonable memory limits. Boost.Flyweight makes it easy to use this |
| common programming idiom by providing the class template |
| <code>flyweight<T></code>, which acts as a drop-in replacement for |
| <code>const T</code>. |
| </p> |
| |
| <p> |
| Learning to use Boost.Flyweight can be accomplished in a matter of minutes. |
| When special needs arise, however, an extensive customization interface |
| is provided which allows the user to control and extend the following aspects: |
| <ul> |
| <li>Type tagging for separation of domains using the same basic |
| flyweight types.</li> |
| <li>Specification and parameterization of the so-called flyweight |
| factory.</li> |
| <li>Control of the factory instantiation procedure.</li> |
| <li>Specification of the internal synchronization mechanisms.</li> |
| <li>Flyweight tracking, allowing for the disposal of stored |
| values when no longer referenced by any flyweight object.</li> |
| </ul> |
| </p> |
| |
| <h2>Contents</h2> |
| |
| <ul> |
| <li><a href="tutorial/index.html">Tutorial</a></li> |
| <li><a href="reference/index.html">Reference</a></li> |
| <li><a href="performance.html">Performance</a></li> |
| <li><a href="examples.html">Examples</a></li> |
| <li><a href="tests.html">Tests</a></li> |
| <li><a href="future_work.html">Future work</a></li> |
| <li><a href="release_notes.html">Release notes</a></li> |
| <li><a href="acknowledgements.html">Acknowledgements</a></li> |
| </ul> |
| |
| <hr> |
| |
| <div class="prev_link"></div> |
| <div class="up_link"></div> |
| <div class="next_link"><a href="tutorial/index.html"><img src="next.gif" alt="tutorial" border="0"><br> |
| Tutorial |
| </a></div><br clear="all" style="clear: all;"> |
| |
| <br> |
| |
| <p>Revised September 3rd 2008</p> |
| |
| <p>© Copyright 2006-2008 Joaquín M López Muñoz. |
| Distributed under the Boost Software |
| License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt"> |
| LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt"> |
| http://www.boost.org/LICENSE_1_0.txt</a>) |
| </p> |
| |
| </body> |
| </html> |