This isn\'t a design question, really, though it may seem like it. (Well, okay, it\'s kind of a design question). What I\'m wondering is why the C++ std::fstream
std::fstream
I believe that this has been thought about and was done to avoid the dependency; i.e. #include should not force one to #include .
To be honest, this seems like quite an inconsequential issue. A better question would be, why is std::string's interface so large?