Boost logo

Boost :

Subject: Re: [boost] TTI library in the sandbox
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-01-14 04:51:49


>I have uploaded to the sandbox 'tti' directory version 1.0 of the TTI
>library. 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.

Excellent! This is something I've often needed, and having a comprehensive
solution in Boost would be great.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk