Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 929 Bytes

compiler-warning-level-4-c4634.md

File metadata and controls

38 lines (30 loc) · 929 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 4) C4634
Compiler Warning (level 4) C4634
11/04/2016
C4634
C4634
3e3496ce-2ac7-43d0-a48a-f514c950e81d

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  {};