Boost logo

Boost Users :

Subject: [Boost-users] TTI library updated in the sandbox to version 1.2
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-02-09 19:41:58


I have updated the TTI library in the sandbox 'tti' directory to version
1.2. 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.

The main feature of the update is a set of macros generating
metafunction classes for passing the metafunctions of the library as
metadata. The documentation has also been updated and the code
implementation has been made easier to follow.

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 sandbox tti directory, for anyone
browsing the sandbox for interesting libraries, which basically
replicates what is written here.

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