A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cplusplus/draft/pull/4872 below:

[unique.ptr.single] Throwing after 079f7d3b02d can be well-defined · Issue #4872 · cplusplus/draft · GitHub

079f7d3 added noexcept to certain constructors that had the precondition that some initialization didn't throw. Before, the effects was that throwing results in undefined behavior according to [structure.specifications]. 079f7d3 didn't remove the preconditions, but an exception throw within a noexcept function is well-defined. Could this have been an oversight?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4