[libcxx-commits] [PATCH] D69882: [libcxx] Implement P0325: to_array from LFTS with updates.

Marek Kurdej via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 13 12:27:58 PST 2019


curdeius marked 8 inline comments as done.
curdeius added a comment.

Adressed comments.



================
Comment at: libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp:25
+    MoveOnly mo;
+    std::to_array(mo); // expected-error {{no matching function}}
+  }
----------------
lichray wrote:
> Not sure what is tested here.  `to_array` works with move-only elements (as you have tested in to_array.pass.cpp), but certainly won't work with anything that is not a built-in array :)
Oops, fixed it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69882





More information about the libcxx-commits mailing list