123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346 |
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
- <title>History</title>
- <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
- <link rel="home" href="../index.html" title="Chapter 1. The Type Traits Introspection Library">
- <link rel="up" href="../index.html" title="Chapter 1. The Type Traits Introspection Library">
- <link rel="prev" href="tti_tests.html" title="Testing TTI">
- <link rel="next" href="tti_todo.html" title="ToDo">
- </head>
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
- <table cellpadding="2" width="100%"><tr>
- <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
- <td align="center"><a href="../../../../../index.html">Home</a></td>
- <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
- <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
- <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
- <td align="center"><a href="../../../../../more/index.htm">More</a></td>
- </tr></table>
- <hr>
- <div class="spirit-nav">
- <a accesskey="p" href="tti_tests.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tti_todo.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h2 class="title" style="clear: both">
- <a name="the_type_traits_introspection_library.tti_history"></a><a class="link" href="tti_history.html" title="History">History</a>
- </h2></div></div></div>
- <h4>
- <a name="the_type_traits_introspection_library.tti_history.h0"></a>
- <span class="phrase"><a name="the_type_traits_introspection_library.tti_history.post_boost_1_55_development"></a></span><a class="link" href="tti_history.html#the_type_traits_introspection_library.tti_history.post_boost_1_55_development">Post
- Boost 1.55 development</a>
- </h4>
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
- <li class="listitem">
- Passing a valid non-class as the enclosing type of the query macro metafunctions
- always returns false, rather than producing a compiler error.
- </li>
- <li class="listitem">
- Passing a valid non-class as the enclosing type of the BOOST_TTI_MEM_TYPE
- macro metafunction always returns the marker type, rather than producing
- a compiler error.
- </li>
- </ul></div>
- <h4>
- <a name="the_type_traits_introspection_library.tti_history.h1"></a>
- <span class="phrase"><a name="the_type_traits_introspection_library.tti_history.boost_1_54"></a></span><a class="link" href="tti_history.html#the_type_traits_introspection_library.tti_history.boost_1_54">Boost
- 1.54</a>
- </h4>
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
- <li class="listitem">
- TTI is in Boost and the macros have been simplified
- </li>
- <li class="listitem">
- Breaking changes
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
- <li class="listitem">
- The nullary type metafunctions are no longer part of the library.
- </li>
- <li class="listitem">
- Single common macro metafunctions are now used for introspecting
- member data, member functions, static member data, static member
- functions, data, functions, types, and templates.
- </li>
- <li class="listitem">
- Composite forms of macro metafunctions are now folded into the main
- macros.
- </li>
- <li class="listitem">
- BOOST_TTI_HAS_TYPE metafunction takes an optional second template
- parameter which may be an MPL lambda expression.
- </li>
- <li class="listitem">
- The BOOST_TTI_MEMBER_TYPE metafunction takes an optional marker type.
- </li>
- </ul></div>
- </li>
- </ul></div>
- <h4>
- <a name="the_type_traits_introspection_library.tti_history.h2"></a>
- <span class="phrase"><a name="the_type_traits_introspection_library.tti_history.version_1_5"></a></span><a class="link" href="tti_history.html#the_type_traits_introspection_library.tti_history.version_1_5">Version
- 1.5</a>
- </h4>
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
- <li class="listitem">
- The TTI has been accepted into Boost. This is the first iteration of changes
- as the library is being prepared for Boost based on the library review
- and end-user comments and suggestions. For each iteration of changes made
- based on end-user comments and suggestions, I will produce a new version
- number so that end-users who want to follow the progress of the library
- for Boost can know what is being changed. I will be targeting Boost 1.49
- for completing all changes and passing all tests in order to have TTI ready
- to be copied from Boost trunk to Boost release for inclusion into Boost.
- </li>
- <li class="listitem">
- Breaking changes
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
- <li class="listitem">
- Macro metafunctions are no longer generated in any namespace, but
- directly in the scope of the end-user.
- </li>
- <li class="listitem">
- The metafunction class generating macros, for each metafunction macro,
- have been removed. The end-user can use boost::mpl::quote instead
- if he wishes.
- </li>
- <li class="listitem">
- The metafunction name generating macros have been simplified so that
- no namespace name is generated, and for each macro of the macro metafunctions
- there is a single metafunction name generating macro.
- </li>
- <li class="listitem">
- The BOOST_TTI_TRAITS_GEN macro has been removed.
- </li>
- <li class="listitem">
- Individual header file names have changed to more closely reflect
- the metafunction macro names.
- </li>
- <li class="listitem">
- The names of the composite member function and composite static member
- function macros have changed from BOOST_TTI_HAS_COMP_MEMBER_FUNCTION
- to BOOST_TTI_HAS_MEMBER_FUNCTION_WITH_SIG and from BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION
- to BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_WITH_SIG.
- </li>
- </ul></div>
- </li>
- <li class="listitem">
- All template parameter names are now unique to TTI to avoid name clashes.
- </li>
- <li class="listitem">
- Nullary type metafunctions can be passed non-class types as is.
- </li>
- </ul></div>
- <h4>
- <a name="the_type_traits_introspection_library.tti_history.h3"></a>
- <span class="phrase"><a name="the_type_traits_introspection_library.tti_history.version_1_4"></a></span><a class="link" href="tti_history.html#the_type_traits_introspection_library.tti_history.version_1_4">Version
- 1.4</a>
- </h4>
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
- <li class="listitem">
- Breaking changes
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_MEMBER</span></code>
- (<code class="computeroutput"><span class="identifier">BOOST_TTI_TRAIT_HAS_MEMBER</span></code>)
- has been changed to <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_COMP_MEMBER_FUNCTION</span></code>
- (<code class="computeroutput"><span class="identifier">BOOST_TTI_TRAIT_HAS_COMP_MEMBER_FUNCTION</span></code>)
- and <code class="computeroutput"><span class="identifier">BOOST_TTI_MTFC_HAS_MEMBER</span></code>
- (<code class="computeroutput"><span class="identifier">BOOST_TTI_MTFC_TRAIT_HAS_MEMBER</span></code>)
- has been changed to <code class="computeroutput"><span class="identifier">BOOST_TTI_MTFC_HAS_COMP_MEMBER_FUNCTION</span></code>
- (<code class="computeroutput"><span class="identifier">BOOST_TTI_MTFC_TRAIT_HAS_COMP_MEMBER_FUNCTION</span></code>).
- This family of functionality now supports only member functions with
- composite syntax.
- </li>
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_STATIC_MEMBER</span></code>
- (<code class="computeroutput"><span class="identifier">BOOST_TTI_TRAIT_HAS_STATIC_MEMBER</span></code>)
- has been changed to <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_COMP_STATIC_MEMBER_FUNCTION</span></code>
- (<code class="computeroutput"><span class="identifier">BOOST_TTI_TRAIT_HAS_COMP_STATIC_MEMBER_FUNCTION</span></code>)
- and <code class="computeroutput"><span class="identifier">BOOST_TTI_MTFC_HAS_STATIC_MEMBER</span></code>
- (<code class="computeroutput"><span class="identifier">BOOST_TTI_MTFC_TRAIT_HAS_STATIC_MEMBER</span></code>)
- has been changed to <code class="computeroutput"><span class="identifier">BOOST_TTI_MTFC_HAS_COMP_STATIC_MEMBER_FUNCTION</span></code>
- (<code class="computeroutput"><span class="identifier">BOOST_TTI_MTFC_TRAIT_HAS_COMP_STATIC_MEMBER_FUNCTION</span></code>).
- This family of functionality now supports only static member functions
- with composite syntax.
- </li>
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_static_data</span></code> has been changed
- to <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_static_member_data</span></code>.
- </li>
- </ul></div>
- </li>
- <li class="listitem">
- Added <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_STATIC_MEMBER_DATA</span></code>
- and family for introspecting static member data.
- </li>
- <li class="listitem">
- Inclusion of specific header files for faster compilation is now supported.
- </li>
- <li class="listitem">
- Inclusion of macro metafunction name generating macros.
- </li>
- <li class="listitem">
- Shorten the names of the test files and test header files.
- </li>
- <li class="listitem">
- Added documentation topic about introspecting function templates.
- </li>
- </ul></div>
- <h4>
- <a name="the_type_traits_introspection_library.tti_history.h4"></a>
- <span class="phrase"><a name="the_type_traits_introspection_library.tti_history.version_1_3"></a></span><a class="link" href="tti_history.html#the_type_traits_introspection_library.tti_history.version_1_3">Version
- 1.3</a>
- </h4>
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
- Breaking changes
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
- <li class="listitem">
- The names of the main header files are shortened to 'boost/tti/tti.hpp'
- and 'boost/tti/tti_vm.hpp'.
- </li>
- <li class="listitem">
- The library follows the Boost conventions.
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: square; ">
- <li class="listitem">
- Changed the filenames to lower case and underscores.
- </li>
- <li class="listitem">
- The top-level tti namespace has become the boost::tti namespace.
- </li>
- <li class="listitem">
- The macros now start with <code class="computeroutput"><span class="identifier">BOOST_TTI_</span></code>
- rather than just <code class="computeroutput"><span class="identifier">TTI_</span></code>
- as previously.
- </li>
- </ul></div>
- </li>
- <li class="listitem">
- The variadic macro support works only with the latest version of
- the variadic_macro_library, which is version 1.3+.
- </li>
- </ul></div>
- </li></ul></div>
- <h4>
- <a name="the_type_traits_introspection_library.tti_history.h5"></a>
- <span class="phrase"><a name="the_type_traits_introspection_library.tti_history.version_1_2"></a></span><a class="link" href="tti_history.html#the_type_traits_introspection_library.tti_history.version_1_2">Version
- 1.2</a>
- </h4>
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
- Added the set of metafunction class macros for passing the macro metafunctions
- as metadata. This complements passing the macro metafunctions as metadata
- using placeholder expressions.
- </li></ul></div>
- <h4>
- <a name="the_type_traits_introspection_library.tti_history.h6"></a>
- <span class="phrase"><a name="the_type_traits_introspection_library.tti_history.version_1_1"></a></span><a class="link" href="tti_history.html#the_type_traits_introspection_library.tti_history.version_1_1">Version
- 1.1</a>
- </h4>
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
- <li class="listitem">
- Library now also compiles with gcc 3.4.2 and gcc 3.4.5.
- </li>
- <li class="listitem">
- Examples of use have been added to the documentation.
- </li>
- <li class="listitem">
- In the documentation the previously mentioned 'nested type metafunctions'
- are now called "nullary type metafunctions'.
- </li>
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_TYPE</span></code> and
- <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_type</span></code> now have optional typedef
- checking.
- </li>
- <li class="listitem">
- New macro metafunction functionality which allows composite typed to be
- treated as individual types has been implemented. These include:
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_MEMBER_DATA</span></code>
- </li>
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_MEMBER_FUNCTION</span></code>
- </li>
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION</span></code>
- </li>
- </ul></div>
- </li>
- <li class="listitem">
- New nullary type metafunction <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_static_member_function</span></code>
- uses the new underlying <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION</span></code>
- macro metafunction. Its signature uses an optional MPL forward sequence
- for the parameter types and an optional Boost <code class="computeroutput"><span class="identifier">function_types</span></code>
- tag type.
- </li>
- <li class="listitem">
- New nullary type metafunctions <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">valid_member_type</span></code>
- and <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_valid_member_type</span></code> for checking if
- the 'type' returned from invoking the <code class="computeroutput"><span class="identifier">BOOST_TTI_MEMBER_TYPE</span></code>
- or <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_member_type</span></code> metafunctions is valid.
- </li>
- <li class="listitem">
- Breaking changes
- <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_TYPE_CHECK_TYPEDEF</span></code>
- and <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_type_check_typedef</span></code> have
- been removed, and the functionality in them folded into <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_TYPE</span></code> and <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_type</span></code>.
- </li>
- <li class="listitem">
- BOOST_TTI_MEMBER_TYPE and boost::tti::mf_member_type no longer also
- return a 'valid' boolean constant. Use boost::tti::valid_member_type
- or boost::tti::mf_valid_member_type metafunctions instead ( see above
- ).
- </li>
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_static_function</span></code> has been
- removed and its functionality moved to <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_static_member_function</span></code>
- ( see above ).
- </li>
- <li class="listitem">
- <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_member_data</span></code> uses the new underlying
- <code class="computeroutput"><span class="identifier">BOOST_TTI_HAS_MEMBER_DATA</span></code>
- macro metafunction.
- </li>
- <li class="listitem">
- The signature for <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tti</span><span class="special">::</span><span class="identifier">mf_has_member_function</span></code>
- has changed to use an optional MPL forward sequence for the parameter
- types and an optional Boost <code class="computeroutput"><span class="identifier">function_types</span></code>
- tag type.
- </li>
- <li class="listitem">
- All nullary type metafunctions take their corresponding macro metafunction
- parameter as a class in the form of a Boost MPL lambda expression
- instead of as a template template parameter as previously. Using
- a placeholder expression is the easiest way to pass the corresponding
- macro metafunction to its nullary type metafunction.
- </li>
- </ul></div>
- </li>
- </ul></div>
- <h4>
- <a name="the_type_traits_introspection_library.tti_history.h7"></a>
- <span class="phrase"><a name="the_type_traits_introspection_library.tti_history.version_1_0"></a></span><a class="link" href="tti_history.html#the_type_traits_introspection_library.tti_history.version_1_0">Version
- 1.0</a>
- </h4>
- <p>
- Initial version of the library.
- </p>
- </div>
- <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
- <td align="left"></td>
- <td align="right"><div class="copyright-footer">Copyright © 2011-2013 Tropic Software
- East Inc<p>
- Distributed under the Boost Software License, Version 1.0. (See accompanying
- file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
- </p>
- </div></td>
- </tr></table>
- <hr>
- <div class="spirit-nav">
- <a accesskey="p" href="tti_tests.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tti_todo.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
- </div>
- </body>
- </html>
|