Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61776 - in branches/release/libs/flyweight: doc example
From: joaquin_at_[hidden]
Date: 2010-05-04 16:32:34


Author: joaquin
Date: 2010-05-04 16:32:33 EDT (Tue, 04 May 2010)
New Revision: 61776
URL: http://svn.boost.org/trac/boost/changeset/61776

Log:
merged [61775] from trunk
Text files modified:
   branches/release/libs/flyweight/doc/release_notes.html | 15 +++++++++++++--
   branches/release/libs/flyweight/example/composite.cpp | 6 ++----
   2 files changed, 15 insertions(+), 6 deletions(-)

Modified: branches/release/libs/flyweight/doc/release_notes.html
==============================================================================
--- branches/release/libs/flyweight/doc/release_notes.html (original)
+++ branches/release/libs/flyweight/doc/release_notes.html 2010-05-04 16:32:33 EDT (Tue, 04 May 2010)
@@ -31,11 +31,22 @@
 <h2>Contents</h2>
 
 <ul>
+ <li>Boost 1.44 release</li>
   <li>Boost 1.40 release</li>
   <li>Boost 1.39 release</li>
   <li>Boost 1.38 release</li>
 </ul>
 
+<h2><a name="boost_1_44">Boost 1.44 release</a></h2>
+
+<p>
+<ul>
+ <li>Fixed an incorrect mode of usage of Boost.Variant in
+ one of the examples.
+ </li>
+</ul>
+</p>
+
 <h2><a name="boost_1_40">Boost 1.40 release</a></h2>
 
 <p>
@@ -78,9 +89,9 @@
 
 <br>
 
-<p>Revised April 25th 2009</p>
+<p>Revised May 4th 2010</p>
 
-<p>&copy; Copyright 2006-2009 Joaqu&iacute;n M L&oacute;pez Mu&ntilde;oz.
+<p>&copy; Copyright 2006-2010 Joaqu&iacute;n M L&oacute;pez Mu&ntilde;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">

Modified: branches/release/libs/flyweight/example/composite.cpp
==============================================================================
--- branches/release/libs/flyweight/example/composite.cpp (original)
+++ branches/release/libs/flyweight/example/composite.cpp 2010-05-04 16:32:33 EDT (Tue, 04 May 2010)
@@ -1,6 +1,6 @@
 /* Boost.Flyweight example of a composite design.
  *
- * Copyright 2006-2008 Joaquin M Lopez Munoz.
+ * Copyright 2006-2010 Joaquin M Lopez Munoz.
  * Distributed under the Boost Software License, Version 1.0.
  * (See accompanying file LICENSE_1_0.txt or copy at
  * http://www.boost.org/LICENSE_1_0.txt)
@@ -63,10 +63,8 @@
     return h(str);
   }
 
- std::size_t operator()(
- const boost::recursive_wrapper<list_elems>& elmsw)const
+ std::size_t operator()(const list_elems& elms)const
   {
- const list_elems& elms=elmsw.get();
     std::size_t res=0;
     for(list_elems::const_iterator it=elms.begin(),it_end=elms.end();
         it!=it_end;++it){


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk