1 <?xml version=
"1.0" encoding=
"utf-8" ?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
4 <!-- Copyright Aleksey Gurtovoy 2006. Distributed under the Boost -->
5 <!-- Software License, Version 1.0. (See accompanying -->
6 <!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
8 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
9 <meta name=
"generator" content=
"Docutils 0.3.6: http://docutils.sourceforge.net/" />
10 <title>THE BOOST MPL LIBRARY: Renaming/Cleanup
</title>
11 <link rel=
"stylesheet" href=
"../style.css" type=
"text/css" />
13 <body class=
"docframe">
14 <table class=
"header"><tr class=
"header"><td class=
"header-group navigation-bar"><span class=
"navigation-group"><a href=
"./numeric-metafunction.html" class=
"navigation-link">Prev
</a> <a href=
"./miscellaneous.html" class=
"navigation-link">Next
</a></span><span class=
"navigation-group-separator"> |
</span><span class=
"navigation-group"><a href=
"./numeric-metafunction.html" class=
"navigation-link">Back
</a> <a href=
"./miscellaneous.html" class=
"navigation-link">Along
</a></span><span class=
"navigation-group-separator"> |
</span><span class=
"navigation-group"><a href=
"./changes-in-boost-1-32-0.html" class=
"navigation-link">Up
</a> <a href=
"../index.html" class=
"navigation-link">Home
</a></span><span class=
"navigation-group-separator"> |
</span><span class=
"navigation-group"><a href=
"./tutorial_toc.html" class=
"navigation-link">Full TOC
</a></span></td>
15 <td class=
"header-group page-location"><a href=
"../index.html" class=
"navigation-link">Front Page
</a> /
<a href=
"./changelog-history.html" class=
"navigation-link">Changelog & History
</a> /
<a href=
"./changes-in-boost-1-32-0.html" class=
"navigation-link">Changes in Boost
1.32.0 Release
</a> /
<a href=
"./renaming-cleanup.html" class=
"navigation-link">Renaming/Cleanup
</a></td>
16 </tr></table><div class=
"header-separator"></div>
17 <div class=
"section" id=
"renaming-cleanup">
18 <h1><a class=
"toc-backref" href=
"./changes-in-boost-1-32-0.html#id68" name=
"renaming-cleanup">Renaming/Cleanup
</a></h1>
20 <li><p class=
"first">The
<tt class=
"literal"><span class=
"pre">apply_if
</span></tt> metafunction has been renamed to
<tt class=
"literal"><span class=
"pre">eval_if
</span></tt>.
</p>
22 <li><p class=
"first">All
<tt class=
"literal"><span class=
"pre">_backward
</span></tt> algorithm counterparts have been renamed to use
<tt class=
"literal"><span class=
"pre">reverse_
</span></tt>
23 prefix; e.g.
<tt class=
"literal"><span class=
"pre">fold_backward
</span></tt> became
<tt class=
"literal"><span class=
"pre">reverse_fold
</span></tt>.
</p>
25 <li><p class=
"first">The
<tt class=
"literal"><span class=
"pre"><boost/mpl/aux_/has_xxx.hpp
></span></tt> header has been made public and became
26 <tt class=
"literal"><span class=
"pre"><boost/mpl/has_xxx.hpp
></span></tt>; correspondingly, the
<tt class=
"literal"><span class=
"pre">BOOST_MPL_NO_AUX_HAS_XXX
</span></tt>
27 macro was renamed to
<tt class=
"literal"><span class=
"pre">BOOST_MPL_CFG_NO_HAS_XXX
</span></tt>.
</p>
29 <li><p class=
"first"><tt class=
"literal"><span class=
"pre"><boost/mpl/assert_is_same.hpp
></span></tt> header has been replaced by a more
30 general
<tt class=
"literal"><span class=
"pre"><mpl/assert.hpp
></span></tt>; the new asserts provide a significantly
31 higher-quality diagnostics. See the table below for new equivalents of
33 <table border=
"1" class=
"table">
38 <thead valign=
"bottom">
39 <tr><th><p class=
"first last">Before
</p>
41 <th><p class=
"first last">Now
</p>
46 <tr><td><p class=
"first last"><tt class=
"literal"><span class=
"pre">BOOST_MPL_ASSERT_IS_SAME(t1,
</span> <span class=
"pre">t2)
</span></tt></p>
48 <td><p class=
"first last"><tt class=
"literal"><span class=
"pre">BOOST_MPL_ASSERT((
</span> <span class=
"pre">boost::is_same
<t1,t2
></span> <span class=
"pre">))
</span></tt></p>
51 <tr><td><p class=
"first last"><tt class=
"literal"><span class=
"pre">BOOST_MPL_ASSERT_IS_NOT_SAME(t1,
</span> <span class=
"pre">t2)
</span></tt></p>
53 <td><p class=
"first last"><tt class=
"literal"><span class=
"pre">BOOST_MPL_ASSERT_NOT((
</span> <span class=
"pre">boost::is_same
<t1,t2
></span> <span class=
"pre">))
</span></tt></p>
58 <p>The
"Macros/Asserts
" section of the
<a class=
"reference" href=
"./reference-manual.html">reference manual
</a> provides a
59 complete formal specification of the new macros' semantics.
</p>
61 <li><p class=
"first">All configuration macros have been renamed to include the
<tt class=
"literal"><span class=
"pre">CFG
</span></tt> prefix; in
62 particular,
<tt class=
"literal"><span class=
"pre">BOOST_MPL_NO_FULL_LAMBDA_SUPPORT
</span></tt> has become
63 <tt class=
"literal"><span class=
"pre">BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT
</span></tt>.
</p>
65 <li><p class=
"first">The following public headers/components have been renamed or removed as
67 <pre class=
"literal-block">
68 iterator_tag.hpp (renamed to iterator_tags.hpp)
78 <div class=
"footer-separator"></div>
79 <table class=
"footer"><tr class=
"footer"><td class=
"header-group navigation-bar"><span class=
"navigation-group"><a href=
"./numeric-metafunction.html" class=
"navigation-link">Prev
</a> <a href=
"./miscellaneous.html" class=
"navigation-link">Next
</a></span><span class=
"navigation-group-separator"> |
</span><span class=
"navigation-group"><a href=
"./numeric-metafunction.html" class=
"navigation-link">Back
</a> <a href=
"./miscellaneous.html" class=
"navigation-link">Along
</a></span><span class=
"navigation-group-separator"> |
</span><span class=
"navigation-group"><a href=
"./changes-in-boost-1-32-0.html" class=
"navigation-link">Up
</a> <a href=
"../index.html" class=
"navigation-link">Home
</a></span><span class=
"navigation-group-separator"> |
</span><span class=
"navigation-group"><a href=
"./tutorial_toc.html" class=
"navigation-link">Full TOC
</a></span></td>