Boost logo

Boost :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2007-10-09 18:18:04


Hello, compiling the following in CW 8.3 against the
trunk:

  #include <boost/type_traits/is_member_pointer.hpp>

  int main()
  {
  }

results in the errors:

Error : ',' expected
is_member_pointer.hpp line 50 template< typename T, typename U >
struct is_member_pointer< U T::*const
> : ::boost::integral_constant<bool,true> { };
[...]

This comes from the latest change to is_member_pointer.hpp
to deal with cv qualified pointers, see http://tinyurl.com/2q835l .
Seemingly, CW 8.3 can't handle the cv qualifiers as used in the
three extra BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_2 at lines
50-52.

The attached patch simply reverts the change for CW 8.3.
OK to commit?

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo




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