Fixed #5638 (is there any plan to check noexcept correctness?)