|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-02 23:20:24
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk