|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-08-12 08:06:31
"John Maddock" <jm_at_[hidden]> writes:
> I'm trying to remember, did someone around here come up with some code that
> can tell at compiler time whether an object has a specific member or not, I
> can do it for operators, but not a member typedef (which is what I want)...
See boost/mpl/aux_/has_xxx.hpp. Example usage in boost/detail/iterator.hpp.
HTH,
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk