[libcxx-commits] [PATCH] D137637: [libc++] Implement P2446R2	(views::as_rvalue)
    Hui via Phabricator via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Sat Dec  3 13:23:45 PST 2022
    
    
  
huixie90 added inline comments.
================
Comment at: libcxx/include/__ranges/as_rvalue_view.h:34-36
+  _LIBCPP_HIDE_FROM_ABI as_rvalue_view()
+    requires default_initializable<_View>
+  = default;
----------------
do we have a test for this?
================
Comment at: libcxx/include/__ranges/as_rvalue_view.h:38
+
+  _LIBCPP_HIDE_FROM_ABI constexpr explicit as_rvalue_view(_View __base) : __base_(std::move(__base)) {}
+
----------------
do we have a test for this? and a test for `explicit`?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137637/new/
https://reviews.llvm.org/D137637
    
    
More information about the libcxx-commits
mailing list