user215054
user215054

Reputation:

Why MS Visual Studio 2008 has 2 copies of <sstream> STL file?

This and this.

"c:\Program Files\Microsoft Visual Studio 9.0\VC\crt\src\sstream"

"c:\Program Files\Microsoft Visual Studio 9.0\VC\include\sstream"

And the files have small differences. Why 2 files ? Thank you.

Upvotes: 2

Views: 192

Answers (1)

Amnon
Amnon

Reputation: 7772

I don't know why the files are different, but the one in the src directory is part of the runtime library source, and shouldn't be used by users of the library. The other file is the one included when you do #include <sstream>.

Upvotes: 3

Related Questions