index.html 2.8 KB

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