Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c++ > #97

History and evolution of the noexcept proposal?

Message-ID <io0u5e$7l2$1@dont-email.me> (permalink)
Newsgroups comp.std.c++, comp.lang.c++.moderated
From "Martin B." <0xCDCDCDCD@gmx.at>
Subject History and evolution of the noexcept proposal?
Organization A noiseless patient Spider
Date 2011-04-12 13:10 -0600

Cross-posted to 2 groups.

Show all headers | View raw


Hi!

As the thread [How on earth did noexcept get through the standards
process?][1] on c.l.c++.m has shown, there is a lot of confusion,
disappointment and questions around `noexcept`.

While the feature we've got is apparently the feature we've got for now -
[We have FDIS!][2] - I at least would find it interesting to see a history
of how `noexcept` evolved into the current form [N3242][3] (see, among other
sections, 15.5.1 The std::terminate() function).

Danny Kalev did a great job about a year ago of summarizing [The debate on
noexcept][4] but I am unclear if there are any more recent changes wrt this
feature and also whether he's spot on on all arguments.

I think the following bullets would help in isolation to clear up some
questions that arose in [1]:

* Search help: Is there an easy way of searching/finding/obtaining a list of
all WG21 proposals and papers that deal with `noexcept` and for each to
verify when it was accepted or rejected and why?

* Rationale: Why was the noexcept-block, as proposed in [N2855][5], scraped?
This block would have made it trivial for compilers to statically "enforce"
`noexcept`, just as they "enforce" `const` at the moment.

* Rationale: Why did "call terminate()" win over "undefined behaviour" for
`noexcept` violations.

* Rationale: Why was it left implementation-defined, whether the stack would
be unwound/partially in case of a noexcept violation?


Any pointers appreciated. Please keep the guesswork to a minimum and mark it
clearly as guesswork :-)

cheers,
Martin

      [1] :
http://groups.google.com/group/comp.lang.c++.moderated/browse_frm/thread/9adab213129c178/7afafcdf84c5f7b1
      [2] :
http://herbsutter.com/2011/03/25/we-have-fdis-trip-report-march-2011-c-standards-meeting/
      [3] : http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf
      [4] : http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=481
      [5] :
http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2855.html#noexcept-block


-- 
Stop Software Patents
http://petition.stopsoftwarepatents.eu/841006602158/
http://www.ffii.org/


[ comp.std.c++ is moderated.  To submit articles, try posting with your ]
[ newsreader.  If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]

Back to comp.std.c++ | Previous | NextNext in thread | Find similar


Thread

History and evolution of the noexcept proposal?  "Martin B." <0xCDCDCDCD@gmx.at> - 2011-04-12 13:10 -0600
  Re: History and evolution of the noexcept proposal? "Martin B." <0xCDCDCDCD@gmx.at> - 2011-04-28 12:19 -0600

csiph-web