Hi All
Can anyone tell me how to fix this? It's fine with one Fedora/Boost version combination, but not with another!
#include <algorithm>
#include <boost/bind.hpp>
enum X { };
int main( )
{
boost::bind<const X &>( std::max<X>, _1, _2 );
}
> g++ -c a.cpp
a.cpp: In function 'int main()':
a.cpp:8: error: no matching function for call to 'bind(<unresolved overloaded function type>, boost::arg<1>&, boost::arg<2>&)'
Thx
- Rob.