Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
XML document comment: cannot be applied: reason
Remarks
XML documentation tags can not be applied to all C++ constructs. For example, you cannot add a documentation comment to a namespace or template.
For more information, see XML Documentation.
Examples
The following example generates C4634.
// C4634.cpp
// compile with: /W4 /doc /c
/// This is a namespace. // C4634
namespace hello {
class MyClass {};
};
The following example generates C4634.
// C4634_b.cpp
// compile with: /W4 /doc /c
/// This is a template. // C4634
template <class T>
class MyClass {};