[libcxx-commits] [PATCH] D127678: [libc++] Implement parts of P1413R3 (Deprecate std::aligned_storage and std::aligned_union)

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 13 12:07:04 PDT 2022


Mordante added inline comments.


================
Comment at: libcxx/docs/Status/Cxx2bPapers.csv:45
 "`P1206R7 <https://wg21.link/P1206R7>`__","LWG","``ranges::to``: A function to convert any range to a container","February 2022","",""
-"`P1413R3 <https://wg21.link/P1413R3>`__","LWG","Deprecate ``std::aligned_storage`` and ``std::aligned_union``","February 2022","",""
+"`P1413R3 <https://wg21.link/P1413R3>`__","LWG","Deprecate ``std::aligned_storage`` and ``std::aligned_union``","February 2022","|Partial| [#note-P1413R3]_",""
 "`P2255R3 <https://wg21.link/P2255R3>`__","LWG","A type trait to detect reference binding to temporary","February 2022","",""
----------------
Since it's not possible to deprecated `using` I would consider this complete, but let's keep the note for clarity.


================
Comment at: libcxx/include/type_traits:161
     template <size_t Len, size_t Align = most_stringent_alignment_requirement>
         struct aligned_storage;
     template <size_t Len, class... Types> struct aligned_union;
----------------
Please update the synopsis.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127678



More information about the libcxx-commits mailing list