Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-03-09 11:31:01


At 10:50 AM 3/9/2003, David Abrahams wrote:
>
>Just browsing, I noticed:
>
> if ( !file )
> throw fs::filesystem_error( "process_jam_long.cpp",
> pth, "can't open output file" );
>
>But I can't find a catch block anywhere in the program. Am I missing
>something?

Yes:

int cpp_main( int argc, char ** argv )
     ^^^^^^^^

So execution_monitor will take care of the catch.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk