[libcxx-commits] [PATCH] D151474: [libc++] Deprecate the classes in strstream.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 25 12:21:35 PDT 2023


Mordante marked an inline comment as done.
Mordante added inline comments.


================
Comment at: libcxx/include/strstream:144
 
-class _LIBCPP_TYPE_VIS strstreambuf
+class _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_TYPE_VIS strstreambuf
     : public streambuf
----------------
philnik wrote:
> At least according to cppreference, these have been deprecated since C++98, so we should just use `_LIBCPP_DEPRECATED`.
Hmm indeed. I noticed in the draft repo they were deprecated in C++11. I never bothered to look before that time.
TIL things were standardized as deprecated :-/


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151474/new/

https://reviews.llvm.org/D151474



More information about the libcxx-commits mailing list