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

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 17:28:08 PDT 2021


dblaikie added a comment.

Yeah, similarly mixed feelings.

Might be at some point we would put up with using a small selection of macros (google's done something similar, begrudgingly, to handle absl::Status) to make it possible to actually create a local variable with initialization from an Expected result - I think that requires statement expressions or other shenanigans to make that work, though, which is also annoying, on top of the macros.


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