Compiler Warning (level 4) C4634
XML document comment: cannot be applied: reason
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 sample generates C4634.
// C4634.cpp
// compile with: /W4 /doc /c
/// This is a namespace. // C4634
namespace hello {
class MyClass {};
};
The following sample generates C4634.
// C4634_b.cpp
// compile with: /W4 /doc /c
/// This is a template. // C4634
template <class T>
class MyClass {};
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru