Boost logo

Boost Users :

Subject: Re: [Boost-users] exceptions from boost::filesystem not catchable on os/x 10.6.8 boost-1.47.0
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-09-05 04:31:02


On Sep 4, 2011, at 5:51 PM, david x callaway <dxc_at_[hidden]> wrote:

> source below. when I run it with a non-existent filename I expect to catch an exception, but instead nothing happens, i.e. I just return to the shell prompt. I tried defining a struct locally and throwing it and the catch works fine.
>
> any ideas?

Looks like it'll just return false unless something really bad happens.

Cheers
Gordon


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