https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120160

--- Comment #6 from Antony Polukhin <antoshkka at gmail dot com> ---
(In reply to Nathaniel Shead from comment #5)
> This has been done at the compiler level by r16-6012-g9783f6f2f67f94:
> 
>   c++/modules: #include <vector> -> import <bits/stdc++.h>
> 
> So this is sort of done I suppose.  Though it won't work if using say CMake,
> which doesn't support building header units (as this translation is defined
> in terms of).

That does the job, if it is safe to mix importing header units and `import std;
` in the same translation unit.

Reply via email to