Hi Stefan,

This is a bug indeed. I'll correct it in the next update.
As a temporary workaround you could wrap the private class in a \cond and 
\endcond section.

Regards,
  Dimitri

On Jul 26, 2012, at 18:05 , Stefan Ludewig <stefan.lude...@exitgames.com> wrote:

> Hi all.
>  
> class Foo
> {
> private:
>        class FooBar
>        {
>        };
> };
>  
> In the above code Foobar is private.
> Trying to construct a FooBar instance from outside of Foo with VC++ leads 
> into a compilation error C2248: 'Foo::FooBar' : cannot access private class 
> declared in class 'Foo'.
>  
> However when I create the documentation for class Foo (EXTRACT_PRIVATE and 
> EXTRACT_ALL deactivated of course) , doxygen seems to treat FooBar as public. 
> I only experience this with nested classes. Anything else which is private 
> does not appear in the created doc.
>  
> Do I have to set any specific doxygen option to prevent nested private 
> classes from getting into the docs  or should I consider this a bug in the 
> current doxygen release?
>  
> I am using 1.8.1.2.
>  
> Thanks, Stefan.
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Doxygen-users mailing list
> Doxygen-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to