warning in bind header

Hello, this is my first post to the Boost Users List. First, I want to present my respect to all the boost lib developers. I have been using boost lib for about two years and it has improved the quality and robustness of my code to points I would have never imagined. Thank you very much.
I'm posting this message because I get the following warning in the bind.hpp header from the current trunk with the vc++2008 compiler:
c:\code\BoostSVN\boost/bind.hpp(1643) : warning C4180: qualifier applied to function type has no meaning; ignored
c:\code\BoostSVN\boost/bind.hpp(1677) : see reference to class template instantiation 'boost::_bi::add_cref

Isaac Lascasas:
Checking the bind.hpp I found the following:
template< class M, class T > struct add_cref< M T::*, 1 > { typedef M const & type; };
Maybe I'm doing something wrong or it is just a typo in the bind.hpp?
Neither. It's a confirmed bug in the compiler. You can ignore this particular warning.
participants (2)
-
Isaac Lascasas
-
Peter Dimov