[PATCH] D40259: [libcxx] LWG2993: reference_wrapper<T> conversion from T&&
Tim Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 20 19:48:41 PST 2017
tcanens added inline comments.
================
Comment at: include/__functional_base:396
+ !is_same<__uncvref_t<_Up>, reference_wrapper>::value
+ >::type, bool _IsNothrow = noexcept(__bind(_VSTD::declval<_Up>()))>
+ _LIBCPP_INLINE_VISIBILITY reference_wrapper(_Up&& __u) _NOEXCEPT_(_IsNothrow)
----------------
Is it safe to do this when we are using `_NOEXCEPT_` in the next line?
https://reviews.llvm.org/D40259
More information about the cfe-commits
mailing list