
3 Feb
2005
3 Feb
'05
4:20 a.m.
Hi, I'm trying to use allocator_utilities with VC6 in the following manner: template<typename Alloc> struct bzip2_allocator_traits { typedef typename boost::detail::allocator::rebind_to< Alloc, char >::type type; }; template< typename Alloc, typename Base = // VC6 workaround: C2516 BOOST_DEDUCED_TYPENAME bzip2_allocator_traits<Alloc>::type > struct bzip2_allocator : private Base { ... }; Unfortunately, I get the error C2039: 'rebind' : is not a member of 'fake_allocator<0>' Any suggestions? Jonathan