Boost logo

Boost :

Subject: Re: [boost] [function] function wrapping with no exception safetyguarantee
From: Domagoj Saric (dsaritz_at_[hidden])
Date: 2010-10-08 04:45:16


"Bryce Lelbach" <admin_at_[hidden]> wrote in message
news:20101007224448.75308cb8_at_Pegasus...
> I think this is great, for selfish reasons. I'm currently working on a
> project that uses the clang and LLVM API. clang and LLVM coding
> conventions are to compile w/o exceptions and without RTTI. I'm able to
> compile the Boost that I use (Spirit/Proto/Fusion
> + deps mostly) without RTTI (after a minor fix to the provided Boost
> workaround), but getting jazz to compile without exceptions is a larger
> task. This would make it easier.

Ability to turn off RTTI, specify on-empty policy which uses target functors
instead of if-empty-then (with provided assert-on-empty, throw-on-empty and
nop-on-empty handlers/functors), work w/o exceptions or work in an
exception-enabled environment but only mark itself as a nothrow function, as
well as many other improvements (reduced template bloat, compiler-specific
optimizations, etc.) is already done (in an alpha-msvc only state):
https://svn.boost.org/svn/boost/sandbox/function/boost/function
http://article.gmane.org/gmane.comp.lib.boost.devel/195351
...

Considering that interest again seems to be on the rise, maybe Doug Gregor
will finally find the time to go through all/some of these proposals and
that some changes will finally be made...and I might also finally finish my
code/changes now that I've started working with GCC...

--
"What Huxley teaches is that in the age of advanced technology, spiritual
devastation is more likely to come from an enemy with a smiling face than
from one whose countenance exudes suspicion and hate."
Neil Postman 

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