Boost logo

Boost Users :

Subject: [Boost-users] TTI library updated in the sandbox to version 1.3
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-02-13 11:08:55


I have updated the TTI library in the sandbox 'tti' directory to version
1.3.

The TTI library, which is an abbreviation for the 'Type Traits
Introspection' library, allows a programmer to introspect at compile
time the inner elements of a C++ type. The introspection process depends
on specifying the name of the inner element by different macros for
different types of elements, and then using a generated metafunction to
determine whether that element exists within the enclosing type. The
inner elements which can be introspected are type, class template,
member data, member function, static member data, and static member
function.

With this update no functionality in the library has changed, but names
have changed. The major change is that the library has been Boostified
for possible review.

1) The update changes the library to use the Boost naming conventions.
2) The names of the main header files have been shortened and changed to
'tti.hpp' and 'tti_vm.hpp' respectively.
3) The macros in the library now start with BOOST_TTI.
4) The main namespace is now boost::tti.
5) Other filenames now follow Boost filename convention.
6) The documentation is distributed in both HTML and PDF format with
indexes, and can be regenerated.
7) The variadic macro support in the library only works with the latest
version 1.3+ of the variadic_maco_data library in the sandbox.

The TTI library is based on the type_traits_ext portion of the Concept
Traits Library, with improvements and additions, and also reproduces
functionality ( without changing existing code ), for the purposes of
completeness, from Boost.MPL regarding introspection of types and templates.

The purpose of the library is to provide a consistent set of interfaces
for doing compile-time introspection of a type, which other template
metaprogrammers can use in their code. If you are at all interested in
compile-time introspection of types, please take a look at the
functionality of this library.

There is a readme.txt in the top-level directory, for anyone browsing
the sandbox.

There is a build.txt file in the doc subdirectory for building the
documentation and running the tests. The documentation is also included
as part of the sandbox files for those who can not build the docs.

The library has been tested and works with gcc 3.4.2, 3.4.5, 4.3.0,
4.4.0, 4.5.0-1, 4.5.2-1 and VC++ 8.0, 9.0, 10.0. It may also work with
other compilers.

Questions, comments, suggestions, and bug reports are all welcome.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net