
2 Mar
2007
2 Mar
'07
5:12 p.m.
On 3/1/07, n.torrey.pines
Wouldn't it make more sense for
filesystem::ifstream in("invalid_file_name");
to throw an exception rather than treat the error in the old fashion?
Making it a drop-in replacement for std::ifstream is probably a better idea, even if it would use an exception were it being designed today. Ideally it'll be standardized (or is it in TR2 already?), and a replacement for std::ifstream it can't break backwards compatibility.