Boost logo

Boost :

Subject: [boost] [mpl] has_xxx.hpp potential problem
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-08-03 14:48:08


I am looking at the trunk version of has_xxx.hpp.

The macros BOOST_MPL_HAS_MEMBER_TEMPLATE_SUBSTITUTE_PARAMETER and
BOOST_MPL_HAS_MEMBER_TEMPLATE_ACCESS appear to be not defined anywhere.

This is OK for the first because it is actually not used anywhere to
generate code, although it is being passed around to other macros. If it
serves no purpose, perhaps it should be removed as it then only serves
to obfuscate the code, unless of course there are future plans to define it.

The second, however, is being used to generate code in one instance
dependent on some version of a compiler, so it needs to be defined
somewhere or else an error will occur.

Please check this out if this is going into 1.44.


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