[llvm-commits] [llvm] r157539 - /llvm/trunk/include/llvm/ADT/DenseMap.h

Chris Lattner clattner at apple.com
Sun May 27 12:42:48 PDT 2012


On May 27, 2012, at 10:38 AM, Benjamin Kramer wrote:

> Author: d0k
> Date: Sun May 27 12:38:30 2012
> New Revision: 157539
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=157539&view=rev
> Log:
> DenseMap: Provide a move ctor and move semantics for operator[] and FindAndConstruct.
> 
> The only missing part is insert(), which uses a pair of parameters and I haven't
> figured out how to convert it to rvalue references. It's now possible to use a
> DenseMap with std::unique_ptr values :)

Awesome!




More information about the llvm-commits mailing list