[PATCH] D25124: Support rvalue references in enumerate range adapter.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 15:26:22 PDT 2016


zturner updated this revision to Diff 73356.
zturner added a comment.

Updated with the proper fix for lvalue / rvalue-ness.  Confirmed with rsmith@ that this was in fact the right incantation.  A side benefit of this is that we were already trying to do this same thing earlier in the file, but we had gotten it wrong there too.  So I fixed it there and re-used the top-level typedef.


https://reviews.llvm.org/D25124

Files:
  include/llvm/ADT/STLExtras.h
  unittests/ADT/STLExtrasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25124.73356.patch
Type: text/x-patch
Size: 8924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161003/5c94d5e0/attachment.bin>


More information about the llvm-commits mailing list