[patch] Make vector::at() assertion message more useful (try #2)

Paolo Carlini paolo.carlini@oracle.com
Mon Sep 23 14:01:00 GMT 2013


On 9/23/13 8:22 AM, Andreas Schwab wrote:
> Paolo Carlini<paolo.carlini@oracle.com>  writes:
>
>> Hi
>>
>> Andreas Schwab<schwab@suse.de>  ha scritto:
>>
>>> What's wrong with always adding the instantiation?
>> That quite a few targets will not use it and will remain dead in the .so?
> How many uses are there for the unsigned long version?
I would say *all* the users of the library. Remember that these 
instantiations are in locale-inst.cc (I think an additional 
instantiation also belongs there, with a comment), and are now being 
"hijacked" for the new "pretty printing", but normally are used for 
formatted integers I/O.

Paolo.



More information about the Libstdc++ mailing list