[libcxx-commits] [PATCH] D74351: [libcxx][type_traits] Implement	C++20 common_ref
    Christopher Di Bella via Phabricator via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Mon Feb 10 20:01:45 PST 2020
    
    
  
cjdb added inline comments.
================
Comment at: libcxx/include/type_traits:2306-2307
+template <class _Tp, class _Up>
+struct __common_reference2<_Tp&, _Up&&, enable_if_t<
+    is_convertible_v<_Up&&, __ll_common_ref<const _Up, _Tp>>>>
+{
----------------
Perhaps we should hold off on merging this so we can use `std::convertible_to` instead.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74351/new/
https://reviews.llvm.org/D74351
    
    
More information about the libcxx-commits
mailing list