tag:blogger.com,1999:blog-9025736111713624877.post1598264668509546730..comments2023-11-09T22:36:41.805-08:00Comments on Random technical stuff: You can(not) have a void namespace in C++...Ta bu shi da yuhttp://www.blogger.com/profile/00750381951662588677noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-9025736111713624877.post-58201994196496064112016-01-08T00:54:27.661-08:002016-01-08T00:54:27.661-08:00I think you mistake a bug in Doxygen for a bug in ...I think you mistake a bug in Doxygen for a bug in the C++ standard... If any compiler actually parsed the line this way, it would issue an error. Actually, 2 errors: one for definition of an undeclared symbol (because no namespace void::ComboBox::Impl has been declared previously) and second for a function definition without a return type.<br /><br />The line is simply parsed as void ::ComboBox::Impl::ImplDrawUserHandler( UserDrawEvent *pEvent); That's because "identifier" cannot be a keyword, so the leading "void" must be parsed separately. If you have any doubts, just try to compile a source containing "namespace void {}"...Anonymousnoreply@blogger.com