This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: insert vs emplace


On 14 March 2015 at 12:43, Markus Trippelsdorf wrote:
> On 2015.03.14 at 13:34 +0100, Magnus Fromreide wrote:
>> I have been pondering the attached program for a while and can't figure
>> out if it invokes undefined behaviour or what the proper output of it
>> should be so I am hoping someone here could help me finding the relevant
>> parts of the c++ standard.
>
> This isn't the right place for general C++ questions.
> Try a more appropriate forum like:
> http://stackoverflow.com/questions/tagged/c%2b%2b11
>
> --
> Markus

Indeed, although this one has a quick answer:

http://cplusplus.github.io/LWG/lwg-active.html#2164

I think we should change libstdc++.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]