[PATCH] D16360: unordered_map: Avoid unnecessary mallocs when no insert occurs

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 25 07:54:57 PST 2016


mclow.lists added a comment.

I don't have any comments on this code at this time, but I want to caution people that this part of the standard library is **extremely** carefully specified, and meeting all the requirements is a fiddly bit of work.

For an example of this, look at LWG issue #2464, which has been added to the draft C++17 standard.


http://reviews.llvm.org/D16360





More information about the cfe-commits mailing list