Boost logo

Boost :

Subject: Re: [boost] [Review] Type Traits Introspection library by Edward Diener starts tomorrow Friday 1
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-07-06 04:00:57

> 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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at