The library implementation of gcc 4.8.0 20120429 (experimental) misses the following "copy/move constructors" with allocators:
basic_string(const basic_string&, const Allocator&);
basic_string(basic_string&&, const Allocator&);
These were added to the working draft with acceptance of the allocator proposal
The following test case fails:
std::string s2(s1, std::allocator<char>());
std::string s3(static_cast<std::string&&>(s1), std::allocator<char>());
Yep, known issue - only vector has been updated to the C++11 allocator changes.
I've started doing it for vstring first, std::string will get done at some point too.
I thought the C++11 status table in the manual listed this as missing, but it doesn't (except under the general container requirements)
GCC 4.8.0 is being released, adjusting target milestone.
This will be done during stage 1 for the next release
*** Bug 59283 has been marked as a duplicate of this bug. ***
Fixed for GCC 5 (when using the new string ABI)