Boost logo

Boost :

Subject: Re: [boost] [config] BOOST_NO_CXX11_ALLOCATOR and template aliases
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2014-02-05 11:50:47


[Peter Dimov]
> Another is to just not define BOOST_NO_CXX11_ALLOCATOR for VC11. (VC12 is
> conforming.)

You should be aware that while 2013 has the machinery to respect C++11 minimal allocators (in particular, providing a default for rebind), we missed several places where we should be using that machinery. For example, basic_string and allocate_shared were unintentionally requiring the full C++03 allocator interface. I've audited the entire STL for this problem and I have local changes to fix all occurrences for the next major version.

I'm not sure if BOOST_NO_CXX11_ALLOCATOR covers this, but I thought you should know.

STL


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