Open danielruc91 opened 8 years ago
http://en.cppreference.com/w/cpp/language/except_spec
Potential exceptions Each function
f
, pointer to functionfp
, and pointer to member functionmfp
has a set of potential exceptions, which consists of types that might be thrown and possibly the "any" placeholder for the possibility of an exception of arbitrary type. This set is defined as follows: 1) If the declaration off
,fp
, ormfp
usesthrow()
(deprecated) ornoexcept
, the set is empty.
May I ask a question? In the code, it's defined that:
But NOEXCEPT seems to say it won't throw() an exception... So what is exactly this macro doing?