Boost logo

Boost :

Subject: [boost] TTI library updated in the sandbox
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-02-06 12:39:00

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

Features of the update include support for the older gcc 3.4.2 and
3.4.5, finer-grained introspection for the basic macro metafunctions,
documentation examples, better and tighter design, and better use of
Boost MPL methodology ( metafunctions are now passed as lambda
expressions and metafunction globbing has been removed from the two
metafunctions where it previously existed ). You can view the changes in
the History section of the documentation.

The TTI library is based on the type_traits_ext portion of the Concept
Traits Library, with improvements and additions, and also lifts
functionality, for the purposes of orthogonality, 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 list run by bdawes at, gregod at, cpdaniel at, john at