commit | c1df15a55fd3a5611ba05cb81263a7fbc890cc33 | [log] [tgz] |
---|---|---|
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | Sat Dec 05 19:37:41 2020 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 01:05:32 2021 -0800 |
tree | 65ca3dc10de41ec0b69435b1b744350880cae808 | |
parent | 4f4883c11cf5b3a9c62df11c6851383348498ed0 [diff] |
[libc++] [LWG2993] reference_wrapper<T> conversion from U&& Implement the resolution of LWG2993. Replace a deleted constructor with a constructor that SFINAEs away in appropriate circumstances. Also, now that the constructor is templated, we must have an explicit deduction guide to make CTAD work. Some tests have been merged in from Agustín Bergé's D40259. Differential Revision: https://reviews.llvm.org/D92725 GitOrigin-RevId: eec04092d67b94f47439a9065b6bd4cd60165be2