Boost logo

Boost :

Subject: Re: [boost] Identifying members
From: Sean Hunt (rideau3_at_[hidden])
Date: 2008-10-08 22:49:26


Scott McMurray wrote:
> Sounds like BOOST_MPL_HAS_XXX_TRAIT_DEF :
> http://www.boost.org/doc/libs/1_36_0/libs/mpl/doc/refmanual/has-xxx-trait-def.html
>
> HTH,
> ~ Scott

No, because that only detects member typedefs. It is possible to detect
members of any type, for instance, whether there exists an int T.foo.

Sean


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