
6 Jul
2011
6 Jul
'11
8 a.m.
BOOST_STATIC_ASSERT((boost::tti::has_comp_member_function_begin<std::vector<int>::const_iterator (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 ;-) Thanks, John.