|
Boost Users : |
From: me22 (me22.ca_at_[hidden])
Date: 2007-03-02 12:12:23
On 3/1/07, n.torrey.pines <n.torrey.pines_at_[hidden]> wrote:
> 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net