[libcxx-commits] [libcxx] [libc++][sstream] Add deleted special member functions (PR #80254)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 10 09:54:50 PST 2024


================
@@ -48,10 +48,12 @@ public:
     template <class SAlloc>
     explicit basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
                              ios_base::openmode which = ios_base::in | ios_base::out); // C++20
+    basic_istringstream(const basic_istringstream&) = delete;
----------------
mordante wrote:

```suggestion
    basic_stringbuf(const basic_stringbuf&) = delete;
```

https://github.com/llvm/llvm-project/pull/80254


More information about the libcxx-commits mailing list