[PATCH][ADT] Add move-construction and move-assignment from SmallVectorImpl<T> to SmallVector<T,N>.

David Blaikie dblaikie at gmail.com
Thu Jan 22 16:04:17 PST 2015


This looks like it's only adding copy, not move - did I miss something?

On Thu, Jan 22, 2015 at 3:54 PM, Lang Hames <lhames at gmail.com> wrote:

> Hi All,
>
> The attached patch adds move-construction and move-assignment from
> SmallVectorImpl<T> to SmallVector<T, N>. It enables us to move between
> SmallVectors of different types, which will allow me to fix one of the most
> commented-upon warts from the new JIT APIs.
>
> Unit-test included.
>
> Cheers,
> Lang.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150122/655a5b38/attachment.html>


More information about the llvm-commits mailing list