[filesystem] why no exceptions?

1 Mar
2007
1 Mar
'07
6:09 p.m.
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?

2 Mar
2 Mar
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.
6567
Age (days ago)
6568
Last active (days ago)
1 comments
2 participants
participants (2)
-
me22
-
n.torrey.pines