[Bug libstdc++/92546] [10 Regression] Large increase in preprocessed file sizes in C++2a mode

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 17 16:04:00 GMT 2019


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Currently <span> includes the whole of <array>, but we might be able to avoid
that so that <span> is more lightweight:

: | g++ -std=c++2a -P -E -x c++ - -include array | wc -l
7729
: | g++ -std=c++2a -P -E -x c++ - -include span | wc -l
9528


More information about the Gcc-bugs mailing list