4 ms·
The thing is, in C++ you have to explicitly write noexcept for that to happen. If you use optional<T> you have to explicitly write that, and turning off except
by milesrout 10y ago
The thing is, in C++ you have to explicitly write noexcept for that to happen.
If you use optional<T> you have to explicitly write that, and turning off exceptions means you don't have to write noexcept everywhere.