Boost logo

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.


Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at