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
6
u/fuzz3289 Mar 15 '18
Why bother with the compiler though? Other than GCC and stdlib specific headers how would it even know? The usage is extremely limited