Boost logo

Boost :

Subject: Re: [boost] [system][filesystem v3] Question abouterror_code arguments
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2009-10-27 13:02:54

Peter Foelsche wrote:
> "Stewart, Robert" <Robert.Stewart_at_[hidden]> wrote in message
> > Others noted embedded environments -- very important today
> I was talking about C++.
> C++ includes exception handling.
> C++ without exception handling does not make any sense,
> as one cannot perform a fallible resource allocation inside a
> constructor.

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.

"Don't pay for what you don't use" is the guiding principle for the language.

Boost is about libraries useful to a broad array of people using C++, not just those willing to use the entire array of features.

Rob Stewart robert.stewart_at_[hidden]
Software Engineer, Core Software using std::disclaimer;
Susquehanna International Group, LLP

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

Boost list run by bdawes at, gregod at, cpdaniel at, john at