term does not evaluate to a function
程序最后出现一个错误,不晓得怎么解决,请各位大大指点,多谢
...\stlport-4.6.2\stlport\stl\_hashtable.h(557) : error C2064: term does not evaluate to a function
...\stlport-4.6.2\stlport\stl\_hashtable.h(556) : while compiling class-template member function 'unsigned int __thiscall _STL::hashtable<struct _STL::pair<double const ,double>,double,struct _STL::hash<double>,struct _STL::_Sel
ect1st<struct _STL::pair<double const ,double> >,struct _STL::equal_to<double>,class _STL::allocator<struct _STL::pair<double const ,double> > >::_M_bkt_num_key(const double &,unsigned int) const'
在_hashtable.h是指向这段代码的:
size_type _M_bkt_num_key(const key_type& __key, size_t __n) const
{
return _M_hash(__key) % __n;
}
我用VC6+STLport