[libcxx-commits] [PATCH] D96742: [libcxx] adds concept `std::assignable_from`
Christopher Di Bella via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 16 20:56:41 PST 2021
cjdb marked an inline comment as done.
cjdb added inline comments.
================
Comment at: libcxx/include/concepts:201
+ common_reference_with<const remove_reference_t<_Lhs>&, const remove_reference_t<_Rhs>&> &&
+ requires (_Lhs __lhs, _Rhs __rhs) {
+ { __lhs = _VSTD::forward<_Rhs>(__rhs) } -> same_as<_Lhs>;
----------------
Mordante wrote:
> Why do you deviate from the wording in the standard? `_Rhs __rhs` versus `_Rhs&& __rhs`.
Whoops! Thanks for catching this :-)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96742/new/
https://reviews.llvm.org/D96742
More information about the libcxx-commits
mailing list