[libcxx-commits] [PATCH] D99567: [libc++] Make future_error constructor standard-compliant.

Marek Kurdej via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 30 01:46:51 PDT 2021


curdeius added inline comments.


================
Comment at: libcxx/include/future:513
+    explicit future_error(future_errc _Ev)
+        : future_error(_VSTD::make_error_code(_Ev)) {}
 #endif
----------------
Would it be better this way (probably with some specific error message)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99567



More information about the libcxx-commits mailing list