why don't STL ifstream and ofstream classes take std::string as filenames?

Posted by vy32 on Stack Overflow See other posts from Stack Overflow or by vy32
Published on 2010-04-26T21:19:05Z Indexed on 2010/04/26 21:23 UTC
Read the original article Hit count: 252

Filed under:
|
|

This is a complaint about STL. Why do they take filename arguments as (char *) and not as std::string? This seems to make no sense.

There are two other questions on this topic:

But seriously, this makes no sense. Are there any plans to upgrade STL?

© Stack Overflow or respective owner

Related posts about c++

Related posts about stl