[libcxx-commits] [PATCH] D96742: [libcxx] adds concept `std::assignable_from`
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 16 09:57:59 PST 2021
Mordante 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>;
----------------
Why do you deviate from the wording in the standard? `_Rhs __rhs` versus `_Rhs&& __rhs`.
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