Subject: Re: [boost] [Review] Type Traits Introspection library by Edward Diener starts tomorrow Friday 1
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-07-06 07:36:51
On 7/6/2011 4:00 AM, John Maddock wrote:
>> (std::vector<int>::*)(void) const>::value));
>> does indeed work.
>> It does seem as if putting the 'const' at the end is the correct
>> signature whereas putting it where you originally had it suggests a
>> const member function pointer and not a member function pointer to a
>> const member function.
> In other words I *was* doing something silly ;-)
I guess so but it was hard to catch visually. I did not see it until I
could compare what worked and what did not through a
BOOST_MPL_ASSERT((boost::is_same(mf1::type,mf2::type))) test of the
results of the two generated metafuncions.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk