[llvm-commits] [llvm] r157113 - in /llvm/trunk/include/llvm/ADT: DenseMap.h TinyPtrVector.h

Chris Lattner clattner at apple.com
Sat May 19 09:50:17 PDT 2012


On May 19, 2012, at 6:28 AM, Benjamin Kramer wrote:
> Author: d0k
> Date: Sat May 19 08:28:54 2012
> New Revision: 157113
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=157113&view=rev
> Log:
> Provide move semantics for TinyPtrVector and for DenseMap's rehash function.
> 
> This makes DenseMap<..., TinyPtrVector<...>> as cheap as it always should've been!

Cool!  Is this enough to fully move-enable densemap?  Can it be used with move-only types like std::unique_ptr?

-Chris



More information about the llvm-commits mailing list