Boost logo

Boost Users :

Subject: Re: [Boost-users] Metaprogamming question
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-07-08 20:22:05

On 7/8/2011 8:17 PM, Nat Goodspeed wrote:
> On Jul 8, 2011, at 6:17 AM, "John M. Dlugosz"<mpbecey7gu_at_[hidden]> wrote:
>> Can I use something like enable_if to tell if a class has a push_back or resize function?
> Isn't that what the Type Traits Introspection library (currently under review) does?

Yes, precisely. As long as you know the signature of the member function
or static member function for which you are looking, TTI can tell you at
compile-time whether it exists or not.

I encourage you to look at the library and give your comments as well as
review the library.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at