Re:When noexcept?
by pjc50 on Thursday December 15, 2016 @10:53AM
(#13185375)
The standard libraries tend to only use them for fatal conditions such as out of memory. The standard library can compile with no-exceptions (see https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_except... ); if you mix no-exception and exception-using code, what happens is implementation-dependent but usually involves crashing.
[ Parent
| on HN ]
vector::at & co and std::stoi & co will throw. Big one: optional will throw.
Re:When noexcept?
by brandmeyer on Thursday December 15, 2016 @12:37PM
(#13186385)
std::function can throw, too