[cfe-dev] (libc++) get_unexpected expected to return non-NULL

Andrew Parker andrew.j.c.parker at gmail.com
Wed Jul 15 20:56:25 PDT 2015


The test:

\test\std\depr\exception.unexpected\set.unexpected\get_unexpected.pass.cpp

expects the initial unexpected handler to be non-NULL:

*int main()*
*{*

*    std::unexpected_handler old = std::get_unexpected();*
*    // verify there is a previous unexpected handler*
*    assert(old);*

Is that really a requirement?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150716/aeddadeb/attachment.html>


More information about the cfe-dev mailing list