[libcxx-commits] [PATCH] D95248: [libc++][doc] Update the release notes

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jan 24 04:17:01 PST 2021

Mordante updated this revision to Diff 318825.
Mordante marked an inline comment as done.
Mordante added a comment.
Herald added a subscriber: arphaman.

Addresses review comments.
Updates C++2b status on the index page.




Index: libcxx/docs/index.rst
--- libcxx/docs/index.rst
+++ libcxx/docs/index.rst
@@ -140,7 +140,7 @@
 * :ref:`C++14 - Complete <cxx1y-status>`
 * :ref:`C++17 - In Progress <cxx1z-status>`
 * :ref:`C++20 - In Progress <cxx2a-status>`
-* :ref:`C++2b - Not Started <cxx2b-status>`
+* :ref:`C++2b - In Progress <cxx2b-status>`
 * `Post C++14 Technical Specifications - In Progress <http://libcxx.llvm.org/ts1z_status.html>`__
 * :ref:`C++ Feature Test Macro Status <feature-status>`
Index: libcxx/docs/ReleaseNotes.rst
--- libcxx/docs/ReleaseNotes.rst
+++ libcxx/docs/ReleaseNotes.rst
@@ -37,8 +37,29 @@
 New Features
+- Random device support has been made optional. It's enabled by default and can
+  be disabled by building libc++ with ``-DLIBCXX_ENABLE_RANDOM_DEVICE=OFF``.
+  Disabling random device support can be useful when building the library for
+  platforms that don't have a source of randomness, such as some embedded
+  platforms. When this is not supported, most of ``<random>`` will still be
+  available, but ``std::random_device`` will not.
+- Localization support has been made optional. It's enabled by default and can
+  be disabled by building libc++ with ``-DLIBCXX_ENABLE_LOCALIZATION=OFF``.
+  Disabling localization can be useful when porting to platforms that don't
+  support the C locale API (e.g.  embedded). When localization is not
+  supported, several parts of the library will be disabled: ``<iostream>``,
+  ``<regex>``, ``<locale>`` will be completely unusable, and other parts may be
+  only partly available.
+- Several unqualified lookups in libc++ have been changed to qualified lookups.
+  This makes libc++ more ADL-proof.
+- The libc++ implementation status pages have been overhauled. Like other parts
+  documentation they now use restructured text instead html. Starting with
+  libc++12 the status pages are part of libc++'s documentation.
+- More C++20 features have been implemented. :doc:`Cxx2aStatus` has the full
+  overview of libc++'s C++20 implementation status.
+- Work has started to implement new C++2b features. :doc:`Cxx2bStatus` has the
+  full overview of libc++'s C++2b implementation status.
-- ...
 API Changes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95248.318825.patch
Type: text/x-patch
Size: 2344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210124/4af4da94/attachment.bin>

More information about the libcxx-commits mailing list