We use CDynamicAccessor
which inherits from CAccessorBase
. The function MoveNext
would throw
HRESULT MoveNext() throw()
but without telling what exception type it is. How do I know it?
No, throw()
means the function is declared not to throw any exceptions.
Note that it's deprecated (and removed in C++20); we can use noexcept
(or noexcept(true)
) since C++11.