Re:What Programming a Game in 48 Hours Taught Me About Progr...
by cpeterso on Thursday August 29, 2013 @08:29PM
(#6299488)
I'm not familiar with C++11's noexcept specifier, but the throw() example from [1] shows how throwing a W object is caught at run-time instead of compile-time. I think compile-time exception checking is infeasible because C++ functions without a throw() specifier might throw any exception, so the caller can't actually check at compile-time what exceptions might be thrown.
[1] http://en.cppreference.com/w/cpp/language/except_spec
[ Parent
| on HN ]
There are no comments on this comment yet.