|
Boost : |
Subject: Re: [boost] [system][filesystem v3]Question abouterror_code arguments
From: Peter Foelsche (peter_foelsche_at_[hidden])
Date: 2009-10-27 15:41:00
"Stewart, Robert" <Robert.Stewart_at_[hidden]> wrote in message
news:DF2E67F3D097004694C8428C70A3FD69046F260F78_at_msgbal516.ds.susq.com...
> I'm sure all of those using embedded C++ will be glad to know they were
> deluded all this time.
>
> C++ is a broad language. You get to choose which features you use. If
> you don't use the standard containers,
> for example, you won't get any exceptions from them. If you use only the
> non-throwing form of new, you won't
> get exceptions from failed memory allocations. If you write all of your
> code, including your constructors, such
> that they never throw exceptions, you won't get exceptions. Guess what?
> That's still C++, however restricted it
> may be.
The amount of code required to deal with the possibility,
that one of the preceding base or member objects did not successfully
construct,
prevents any serious usage of C++.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk