1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN"> 2 3<html> 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 6<title>Boost.Flyweight Documentation - Index</title> 7<link rel="stylesheet" href="style.css" type="text/css"> 8<link rel="start" href="index.html"> 9<link rel="next" href="tutorial/index.html"> 10</head> 11 12<body> 13<h1><img src="../../../boost.png" alt="Boost logo" align= 14"middle" width="277" height="86">Boost Flyweight Library</h1> 15 16<div class="prev_link"></div> 17<div class="up_link"></div> 18<div class="next_link"><a href="tutorial/index.html"><img src="next.gif" alt="tutorial" border="0"><br> 19Tutorial 20</a></div><br clear="all" style="clear: all;"> 21 22<hr> 23 24<p> 25Flyweights are small-sized handle classes granting constant access to shared 26common data, thus allowing for the management of large amounts of entities 27within reasonable memory limits. Boost.Flyweight makes it easy to use this 28common programming idiom by providing the class template 29<code>flyweight<T></code>, which acts as a drop-in replacement for 30<code>const T</code>. 31</p> 32 33<p> 34Learning to use Boost.Flyweight can be accomplished in a matter of minutes. 35When special needs arise, however, an extensive customization interface 36is provided which allows the user to control and extend the following aspects: 37<ul> 38 <li>Type tagging for separation of domains using the same basic 39 flyweight types.</li> 40 <li>Specification and parameterization of the so-called flyweight 41 factory.</li> 42 <li>Control of the factory instantiation procedure.</li> 43 <li>Specification of the internal synchronization mechanisms.</li> 44 <li>Flyweight tracking, allowing for the disposal of stored 45 values when no longer referenced by any flyweight object.</li> 46</ul> 47</p> 48 49<h2>Contents</h2> 50 51<ul> 52 <li><a href="tutorial/index.html">Tutorial</a></li> 53 <li><a href="reference/index.html">Reference</a></li> 54 <li><a href="performance.html">Performance</a></li> 55 <li><a href="examples.html">Examples</a></li> 56 <li><a href="tests.html">Tests</a></li> 57 <li><a href="future_work.html">Future work</a></li> 58 <li><a href="release_notes.html">Release notes</a></li> 59 <li><a href="acknowledgements.html">Acknowledgements</a></li> 60</ul> 61 62<hr> 63 64<div class="prev_link"></div> 65<div class="up_link"></div> 66<div class="next_link"><a href="tutorial/index.html"><img src="next.gif" alt="tutorial" border="0"><br> 67Tutorial 68</a></div><br clear="all" style="clear: all;"> 69 70<br> 71 72<p>Revised September 3rd 2008</p> 73 74<p>© Copyright 2006-2008 Joaquín M López Muñoz. 75Distributed under the Boost Software 76License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt"> 77LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt"> 78http://www.boost.org/LICENSE_1_0.txt</a>) 79</p> 80 81</body> 82</html> 83