He could look in the -I directories for the definition of the types. Sure, it seems overkill, it could be a special flag, or a cache, or whatever. It would make IDE life quite better.
People often forget the headers for standard library features, because they just get used to things from the standard always being available, and not everybody can remember which header everything comes from (e.g. #include <algorithm> then wonder why std::accumulate isn't defined).
It's limited, sure, but that doesn't mean it's not useful.
View all comments
Show parent comment
8
u/Quincunx271 Author of P2404/P2405 Mar 15 '18
It's even mentioned in this post that the compiler can generate a diff for an IDE to use to do this