For version 4.9.9.2
The following code snippet confuses the Class Browser
/********/
class CWinException : public std::exception { public: CWinException (char* msg) : m_err (::GetLastError()),
m_msg(msg) {}
DWORD GetError() const { return m_err; }
char const * GetMessage() const {return m_msg;}
const char* what() const throw() {return m_msg;}
private:
DWORD m_err;
char * m_msg;
};
/********/
The problem I see is that the what() function is not
displayed at all, and the following private members
(namely m_err and m_msg) are displayed, but not as
belonging to the CWinException class.
I believe its the "throw()" which confuse the class
browser
Best Regards,
David Nash
Header file for class CWinException and others