
9 Oct
2008
9 Oct
'08
2:25 a.m.
On Wed, Oct 8, 2008 at 22:15, coppro <coppro@users.sourceforge.net> wrote:
In C++ it is possible to determine whether there exists a member of a class of a specified type (including member functions) with a given name. As far as I know, there exists no such functionality in Boost. Why is this? It can easily be implemented as a traits class for a specific identifier/signature, which can then be made into a macro.
Sounds like BOOST_MPL_HAS_XXX_TRAIT_DEF : http://www.boost.org/doc/libs/1_36_0/libs/mpl/doc/refmanual/has-xxx-trait-de... HTH, ~ Scott