[libcxx-commits] [libcxx] [libc++][memory] P1132R8: out_ptr - a scalable output pointer abstraction (PR #73618)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 28 07:54:17 PST 2023
================
@@ -0,0 +1,32 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20
+
+// <memory>
+
+// [out.ptr.t], class template out_ptr_t
+// template<class Smart, class Pointer, class... Args>
+// class out_ptr_t; // since c++23
+
+#include <memory>
+
+int main(int, char**) {
----------------
ldionne wrote:
What is this trying to test? Please add a comment explaining what this is testing.
Also, I don't think there's any reason why we shouldn't be running this test, so it should probably just be in `out.ptr.pass.cpp`.
https://github.com/llvm/llvm-project/pull/73618
More information about the libcxx-commits
mailing list