unordered associative containers are non-copyable in profile mode
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Nov 9 08:26:00 GMT 2011
On 9 November 2011 01:05, Jonathan Wakely wrote:
> On 9 November 2011 00:56, Paolo Carlini wrote:
>> On 11/09/2011 12:51 AM, Jonathan Wakely wrote:
>>>
>>> The obvious fix is simply to change the argument type, but is there a
>>> reason it's defined that way?
>>
>> Is there any reason for not having, for the time being at least, the same
>> set of constructors we have in debug-mode, thus add a proper
>> copy-constructor too?
>
> Ah, I didn't notice that's what the debug mode ones have. I think
> that makes sense.
Fixed like so:
* include/profile/unordered_map: Add missing copy constructors.
* include/profile/unordered_set: Likewise.
Tested x86_64-linux, committed to trunk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unord.patch
Type: text/x-patch
Size: 1882 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20111109/b6f2ef4c/attachment.bin>
More information about the Libstdc++
mailing list