|
Boost : |
From: Rob Stewart (stewart_at_[hidden])
Date: 2005-05-05 16:46:05
From: "Peter Dimov" <pdimov_at_[hidden]>
> Rob Stewart wrote:
> > If you actually use the error code:
> >
> > status_error e;
> > status_result r(status(p, &e));
> > if (!e && (r & file_flag)) ...
>
> No, what I wrote above:
>
> >> if( status( p, &e ) & file_flag ) // ...
>
> is correct. file_flag is never set on error.
Quite right. Sorry.
-- Rob Stewart stewart_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk