3 ms·
Re: Precompiled headers It may be possible to do precompiled headers right. However, compiler vendors have been trying to do so since the mid 90s and haven't
by aidenn0 14y ago
Re: Precompiled headers
It may be possible to do precompiled headers right. However, compiler vendors have been trying to do so since the mid 90s and haven't succeeded yet.
The reason I personally like this proposal better than PCH is that it requires explicit use. You can slowly convert libraries to the import syntax while still #including other headers that require conditional stuff. Seriously, just converting all #include <anything from C++ STL or Boost> to this will save 10s of gigabytes of source from being compiled on some projects I've seen.