Question: what is iosfwd in c++?
Answer: C++ Telltales part 4: Forward declarations in C++ are useful to save in compile time as the compiler does not need to check for translation units in the included header. ... C++ has this cool <iosfwd> header which declares forward declaration for all C++ streams such as std::stringstream and std::fstream.