[all-commits] [llvm/llvm-project] d2ccf3: [libc++][sstream] Explicitly delete special member...

Hristo Hristov via All-commits all-commits at lists.llvm.org
Mon Feb 12 23:59:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2ccf3393363f3bbcfd46e58a0ed2a6bd9170099
      https://github.com/llvm/llvm-project/commit/d2ccf3393363f3bbcfd46e58a0ed2a6bd9170099
  Author: Hristo Hristov <hghristov.rmm at gmail.com>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M libcxx/include/sstream
    A libcxx/test/std/input.output/string.streams/istringstream/types.compile.pass.cpp
    R libcxx/test/std/input.output/string.streams/istringstream/types.pass.cpp
    A libcxx/test/std/input.output/string.streams/ostringstream/types.compile.pass.cpp
    R libcxx/test/std/input.output/string.streams/ostringstream/types.pass.cpp
    A libcxx/test/std/input.output/string.streams/stringbuf/types.compile.pass.cpp
    R libcxx/test/std/input.output/string.streams/stringbuf/types.pass.cpp
    A libcxx/test/std/input.output/string.streams/stringstream/types.compile.pass.cpp
    R libcxx/test/std/input.output/string.streams/stringstream/types.pass.cpp

  Log Message:
  -----------
  [libc++][sstream] Explicitly delete special member functions (#80254)

The standard declares the copy constructors and copy assign operators as
deleted.

References:
- https://eel.is/c++draft/string.streams




More information about the All-commits mailing list