I'm new to c++ development and since I'm using PyCharm for python I thought I would give the CLion IDE a try for learning c++. I'm doing a few tutorials and I'm a bit confused about the automatic include statements.
For example if I'm writing std::for_each the IDE prompts me to choose between bits/algorithmfwd.h or bits/stl_algo.h, but I guess the correct thing is to include <algorithms>? I'm using windows and I get the same behavour with cygwin and mingw. I wonder if I have set up something wrong with the build system or is it something else that I'm not thinking about here?