Boost logo

Boost :

Subject: Re: [boost] [mpl] has_xxx.hpp potential problem
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-08-03 16:57:59


On 8/3/2010 2:48 PM, Edward Diener wrote:
> 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.

My apologies. This is a false alarm as the macro which eventually uses
BOOST_MPL_HAS_MEMBER_TEMPLATE_ACCESS can never be called.


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