
7 Apr
2009
7 Apr
'09
9:21 p.m.
AMDG liquid wrote:
How to use hash_setS? If I define BOOST_HAS_HASH the compiler will generate "error C2977: 'stdext::hash_set' : too many template arguments".
This is caused by using "BOOST_STD_EXTENSION_NAMESPACE::hash_set
" in definition of "template struct container_traits< BOOST_STD_EXTENSION_NAMESPACE::hash_set > { typedef set_tag category; typedef stable_tag iterator_stability; // is this right? };" Class hash_set is defined in STL as follows: template
>, class _Alloc = _STD allocator<_Kty> > class hash_set : public _Hash<_Hset_traits<_Kty, _Tr, _Alloc, false> > {...}; which has only 3 params.
What compiler are you using? In Christ, Steven Watanabe