[libcxx-commits] [libcxx] [libc++] Remove <tuple> include from <__format/concepts.h> (PR #80214)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sun Feb 4 09:37:46 PST 2024


================
@@ -86,7 +86,6 @@ chrono sstream
 chrono stdexcept
 chrono string
 chrono string_view
-chrono tuple
----------------
mordante wrote:

> Until now we've only kept the includes up to C++20 stable. C++23 was always fair game. I agree that we should rethink our policy on this, since the amount of transitive includes that we could avoid has become massive.

I know, but at some point it was said only the C++ development version is fair game, which would mean C++26. Hence the proposal to discuss this. I was already considering to put it on the agenda after a private conversation with Victor.


> I'm currently also working on a patch to reduce the transitive includes further by including things in the top level headers by version.

The last time I had a patch to improve the transitive includes by `#ifdef-ing` it got a lukewarm response. So nice to hear the response now is better.

https://github.com/llvm/llvm-project/pull/80214


More information about the libcxx-commits mailing list