commit | 429798ff636b0553e4ff3c692067718caa9c454e | [log] [tgz] |
---|---|---|
author | Logan Chien <logan.chien@mediatek.com> | Thu Dec 26 11:07:46 2013 +0800 |
committer | Logan Chien <logan.chien@mediatek.com> | Thu Dec 26 22:55:12 2013 +0800 |
tree | e91b2b66edef8f639f026a5cd48fa4fc2d1c022e | |
parent | 47fa71ec332efa92f427c122d44fad6a08629651 [diff] |
[gabi++] std::unexpected() is allowed to throw exceptions. According to the C++ standard, std::unexpected() can throw the exception. Thus, we should not specify the exception specifier (i.e. noexcept) and we should not capture the exception thrown by the user-specified unexpected handler. Change-Id: I84a7606c1410f04cbee3e124786d07b36e138eec