Thanks for the response.  I guess I was just surprised because Doxygen
seemed to cope so well with the rest of the managed C++ language
features (including 'sealed' on methods).

FYI, I tested and Doxygen does indeed understand 'final', but
unfortunately I can't really switch to using final as you're supposed
to use 'sealed' for 'ref' classes
(http://msdn.microsoft.com/en-us/library/0w2w91tf.aspx).

I should be able to mitigate the issue with an INPUT_FILTER, but would
be willing to contribute an actual fix if managed C++ is meant to be
fully supported.  The documentation doesn't seem to make that clear
(or my grep-fu is weak).

Thanks,
Mike

On Wed, Apr 9, 2014 at 10:32 AM, Erik Zeek <zee...@mad.scientist.com> wrote:
> On Wed, Apr 9, 2014 at 10:46 AM, Michael Lanzetta <lanze...@gmail.com> wrote:
>> Hey all,
>>
>> I'm running version 1.8.6, and I've noticed that classes marked
>> 'sealed' have the name 'sealed' instead of their actual name used,
>> when generating C++ documentation.  This is odd, since sealed methods
>> don't have the same issue.
>> For instance:
>>
>>   public ref class MySealed sealed
>>   {
>>   public:
>>     MySealed()
>>     {
>>     }
>>
>>     virtual void SealedMethod() sealed {}
>>   };
>>
>> Generates the "class" 'sealed' instead of MySealed, but that class has
>> the SealedMethod method.
>>
>> I've submitted a bug to the bugzilla DB (725183) but so far it's been
>> untouched, but I'm hoping you'll tell me it's a PEBKAC issue and
>> there's a hidden configuration option I missed that fixes the problem.
>>  If not, has anyone else seen this (and if so do you have a
>> workaround)?
>>
>> Thanks,
>> Mike
>
>
> "sealed" is not part of C++.  It's a nonstandard MS extension.
>
> You can probably use the preprocessor to convert it to final (new in
> C++11, not sure if doxygen understands it yet).
>
> Erik
>
> --
> *************************************************
> Erik Zeek
> zee...@mad.scientist.com
> *************************************************
> Against stupidity the very gods
> Themselves contend in vain.
>   - Johann Christoph Friedrich von Schiller (1801)
> *************************************************

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to