[PATCH] D112281: WIP: Support: Add Expected<T>::emplaceInto()

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 16:18:00 PDT 2021


dexonsmith added a comment.

BTW, I marked this as "WIP" because I'm not sure this really has legs... happy to abandon if no one thinks this is useful enough... or maybe there's a way to improve it?

I have hit places where `Optional::operator=()` fails but `Optional::emplace()` succeeds. Can't remember where off the top of my head though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112281



More information about the llvm-commits mailing list