[libcxx-commits] [PATCH] D121485: [libc++] Fix performance inconsistency between map copy-assignment and copy-constructor

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 11 15:03:02 PST 2022


var-const added inline comments.


================
Comment at: libcxx/include/__tree:1098
     __tree(const __tree& __t);
-    __tree& operator=(const __tree& __t);
     template <class _ForwardIterator>
----------------
>From the patch description: "In the future, we could instead reintroduce a copy assignment operator in
tree and copy the whole tree without performing any comparison". Would it be worthwhile adding a TODO to that effect here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121485/new/

https://reviews.llvm.org/D121485



More information about the libcxx-commits mailing list