[libcxx-commits] [PATCH] D96235: [libcxx] adds concepts `std::invocable` and `std::regular_invocable`

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 9 09:47:15 PST 2021


Mordante accepted this revision.
Mordante added a comment.

Except for the build issue, LGTM!



================
Comment at: libcxx/test/std/concepts/callable/invocable.pass.cpp:110
+  {
+    auto G = std::mt19937_64(std::random_device()());
+    auto D = std::uniform_int_distribution<>();
----------------
Can you initialize it with something different, this seems to cause a build failure when the platform has no random device.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96235



More information about the libcxx-commits mailing list