The keys must still be copyable, because we store two copies of them.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 289 Build 289: arc lint + arc unit
Paths
| Differential D25404
[ADT] Let MapVector handle non-copyable values. ClosedPublic Authored by jlebar on Oct 9 2016, 11:14 AM.
Details Summary The keys must still be copyable, because we store two copies of them.
Diff Detail
Event Timelinejlebar updated this object. jlebar added a child revision: D25405: [Sema] Use unique_ptr instead of raw pointers in the late-parsed templates map.. jlebar added inline comments. jlebar marked 2 inline comments as done. This revision is now accepted and ready to land.Oct 10 2016, 3:42 PM
Revision Contents
Diff 74075 llvm/include/llvm/ADT/MapVector.h
llvm/unittests/ADT/MapVectorTest.cpp
|
std::move(KV)?