[SVN r61482]
This commit is contained in:
Joaquín M López Muñoz 2010-04-22 11:36:27 +00:00
parent 80517e00d7
commit a739892808
4 changed files with 27 additions and 12 deletions

View File

@ -31,6 +31,7 @@ Acknowledgements
<h2>Contents</h2> <h2>Contents</h2>
<ul> <ul>
<li><a href="#boost_1_44">Boost 1.44 release</a></li>
<li><a href="#boost_1_43">Boost 1.43 release</a></li> <li><a href="#boost_1_43">Boost 1.43 release</a></li>
<li><a href="#boost_1_42">Boost 1.42 release</a></li> <li><a href="#boost_1_42">Boost 1.42 release</a></li>
<li><a href="#boost_1_41">Boost 1.41 release</a></li> <li><a href="#boost_1_41">Boost 1.41 release</a></li>
@ -43,6 +44,20 @@ Acknowledgements
<li><a href="#boost_1_33">Boost 1.33 release</a></li> <li><a href="#boost_1_33">Boost 1.33 release</a></li>
</ul> </ul>
<h2><a name="boost_1_44">Boost 1.44 release</a></h2>
<p>
<ul>
<li>
Fixed a bug preventing the use of <code>modify_key</code> with
rollback in <a href="reference/ord_indices.html#modify_key">ordered</a> and
<a href="reference/hash_indices.html#modify_key">hashed</a> indices when
<code>Modifier</code> and <code>Rollback</code> are different types
(ticket <a href="https://svn.boost.org/trac/boost/ticket/4130">#4130</a>).
</li>
</ul>
</p>
<h2><a name="boost_1_43">Boost 1.43 release</a></h2> <h2><a name="boost_1_43">Boost 1.43 release</a></h2>
<p> <p>
@ -308,7 +323,7 @@ Acknowledgements
<br> <br>
<p>Revised February 3rd 2010</p> <p>Revised April 22nd 2010</p>
<p>&copy; Copyright 2003-2010 Joaqu&iacute;n M L&oacute;pez Mu&ntilde;oz. <p>&copy; Copyright 2003-2010 Joaqu&iacute;n M L&oacute;pez Mu&ntilde;oz.
Distributed under the Boost Software Distributed under the Boost Software

View File

@ -1,4 +1,4 @@
/* Copyright 2003-2008 Joaquin M Lopez Munoz. /* Copyright 2003-2010 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0. * Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at * (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt) * http://www.boost.org/LICENSE_1_0.txt)
@ -396,7 +396,7 @@ public:
return modify( return modify(
position, position,
modify_key_adaptor<Modifier,value_type,KeyFromValue>(mod,key), modify_key_adaptor<Modifier,value_type,KeyFromValue>(mod,key),
modify_key_adaptor<Modifier,value_type,KeyFromValue>(back,key)); modify_key_adaptor<Rollback,value_type,KeyFromValue>(back,key));
} }
void clear() void clear()

View File

@ -1,4 +1,4 @@
/* Copyright 2003-2008 Joaquin M Lopez Munoz. /* Copyright 2003-2010 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0. * Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at * (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt) * http://www.boost.org/LICENSE_1_0.txt)
@ -401,7 +401,7 @@ public:
return modify( return modify(
position, position,
modify_key_adaptor<Modifier,value_type,KeyFromValue>(mod,key), modify_key_adaptor<Modifier,value_type,KeyFromValue>(mod,key),
modify_key_adaptor<Modifier,value_type,KeyFromValue>(back,key)); modify_key_adaptor<Rollback,value_type,KeyFromValue>(back,key));
} }
void swap(ordered_index<KeyFromValue,Compare,SuperMeta,TagList,Category>& x) void swap(ordered_index<KeyFromValue,Compare,SuperMeta,TagList,Category>& x)

View File

@ -1,6 +1,6 @@
/* Used in Boost.MultiIndex tests. /* Used in Boost.MultiIndex tests.
* *
* Copyright 2003-2009 Joaquin M Lopez Munoz. * Copyright 2003-2010 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0. * Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at * (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt) * http://www.boost.org/LICENSE_1_0.txt)
@ -43,19 +43,19 @@ inline void increment_int(int& x)
++x; ++x;
} }
inline void decrement_first(pair_of_ints& p) inline int decrement_first(pair_of_ints& p)
{ {
--p.first; return --p.first;
} }
inline void decrement_second(pair_of_ints& p) inline int decrement_second(pair_of_ints& p)
{ {
--p.second; return --p.second;
} }
inline void decrement_int(int& x) inline int decrement_int(int& x)
{ {
--x; return --x;
} }
#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) #if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)