Libc++ 17.0.0 (In-Progress) Release Notes

Written by the Libc++ Team

Warning

These are in-progress notes for the upcoming libc++ 17 release. Release notes for previous releases can be found on the Download Page.

Introduction

This document contains the release notes for the libc++ C++ Standard Library, part of the LLVM Compiler Infrastructure, release 17.0.0. Here we describe the status of libc++ in some detail, including major improvements from the previous release and new feature work. For the general LLVM release notes, see the LLVM documentation. All LLVM releases may be downloaded from the LLVM releases web site.

For more information about libc++, please see the Libc++ Web Site or the LLVM Web Site.

Note that if you are reading this file from a Git checkout or the main Libc++ web page, this document applies to the next release, not the current one. To see the release notes for a specific release, please see the releases page.

What’s New in Libc++ 17.0.0?

Implemented Papers

  • P1328R1 - constexpr type_info::operator==()

Improvements and New Features

  • std::string_view now provides iterators that check for out-of-bounds accesses when the safe libc++ mode is enabled.

Deprecations and Removals

  • The <experimental/coroutine> header has been removed in this release. The <coroutine> header has been shipping since LLVM 14, so the Coroutines TS implementation is being removed per our policy for removing TSes.

Upcoming Deprecations and Removals

  • The _LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED macro will not be honored anymore in LLVM 18. Please see the updated documentation about the safe libc++ mode and in particular the _LIBCPP_VERBOSE_ABORT macro for details.