|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61775 - in trunk/libs/flyweight: doc example
From: joaquin_at_[hidden]
Date: 2010-05-04 16:19:46
Author: joaquin
Date: 2010-05-04 16:19:46 EDT (Tue, 04 May 2010)
New Revision: 61775
URL: http://svn.boost.org/trac/boost/changeset/61775
Log:
fixed incorrect mode of usage of Boost.Variant
Text files modified:
trunk/libs/flyweight/doc/release_notes.html | 15 +++++++++++++--
trunk/libs/flyweight/example/composite.cpp | 6 ++----
2 files changed, 15 insertions(+), 6 deletions(-)
Modified: trunk/libs/flyweight/doc/release_notes.html
==============================================================================
--- trunk/libs/flyweight/doc/release_notes.html (original)
+++ trunk/libs/flyweight/doc/release_notes.html 2010-05-04 16:19:46 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>© Copyright 2006-2009 Joaquín M López Muñoz.
+<p>© Copyright 2006-2010 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">
Modified: trunk/libs/flyweight/example/composite.cpp
==============================================================================
--- trunk/libs/flyweight/example/composite.cpp (original)
+++ trunk/libs/flyweight/example/composite.cpp 2010-05-04 16:19:46 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