In Visual C++, you can add comments to your source code that will be processed to an .xml file. This file can then be the input to a process that creates documentation for the classes in your code. An .xml file can also be used to support IntelliSense on your component.
XML documentation can be used regardless of whether you compile with or without /clr.
Note: |
|---|
In the current release, code comments are not processed on templates or anything containing a template type (for example, a function taking a parameter as a template). Doing so will result in undefined behavior.
|
For details on creating an .xml file with documentation comments, see the following topics.
If you need to put XML special characters in the text of a documentation comment, you must use XML entities or a CDATA section.

See Also