Automatic import headers


I was wondering, why is CLion automatically importing standard library headers from bits/ ? For example, using Alt+Enter on a std::string would include <bits/stringfwd.h>.

The same is true for vector, unique_ptr, etc. I've never seen these headers before. Are they standard?


1 comment
Comment actions Permalink

I'm also seeing weird header behavior.  <bits/...> and <tclDecls.h> are the two most offensive.  But I've also seen <ForceFeedback/ForceFeedback.h>  Some of these are added after a quick fix promp (like the erroneous stl ones) but not all.

It appeas this has already been submitted to the bug tracker.  At least the stl issue has been.


Please sign in to leave a comment.