cpplinq
cpplinq copied to clipboard
What does CPPLINQ_NOEXCEPT mean?
May I ask a question? In the code, it's defined that:
define CPPLINQ_NOEXCEPT throw()
But NOEXCEPT seems to say it won't throw() an exception... So what is exactly this macro doing?
http://en.cppreference.com/w/cpp/language/except_spec
Potential exceptions Each function
f, pointer to functionfp, and pointer to member functionmfphas 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:
- If the declaration of
f,fp, ormfpusesthrow()(deprecated) ornoexcept, the set is empty.