diff --git a/libcxx/docs/DesignDocs/HeaderRemovalPolicy.rst b/libcxx/docs/DesignDocs/HeaderRemovalPolicy.rst index 02cbc162318ef..03b5f4ac4b5d6 100644 --- a/libcxx/docs/DesignDocs/HeaderRemovalPolicy.rst +++ b/libcxx/docs/DesignDocs/HeaderRemovalPolicy.rst @@ -38,7 +38,7 @@ guarded by something of the form: .. code-block:: cpp - #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 + #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 23 # include # include # include @@ -49,6 +49,9 @@ include transitive headers, regardless of the language version. This can be useful for users to aid the transition to a newer language version, or by users who simply want to make sure they include what they use in their code. +We currently provide transitive inclusions for backwards compatibility in all +Standard modes older than C++26. + Rationale ---------