Boost logo

Boost :

Subject: Re: [boost] [config] BOOST_NO_CXX11_ALLOCATOR and template aliases
From: Peter Dimov (lists_at_[hidden])
Date: 2014-02-05 12:29:03


John Maddock wrote:
> Can you make the changes? I'm not yet in a position to test VC11, though
> I hope to be soon.

I don't have VC11 either, but the minimum test that would disqualify it
would probably entail adding to boost_no_cxx11_allocator.ipp something like:

    std::allocator_traits<std::allocator<int> > at;
+ std::allocator_traits<std::allocator<int>
>::rebind_alloc<void*>::value_type ra = &at;

A stricter approach would actually test that
std::allocator_traits<std::allocator<int> >::rebind_alloc<void*> is
std::allocator<void*>.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk