Skip to content

Commit 90c24d7

Browse files
authored
fixed some formatting
- fixed inline code formatting for include name - fixed code highlighting by marking the code block as cpp
1 parent 572386d commit 90c24d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/cpp/type-info-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ translation.priority.ht:
3838
# type_info Class
3939
The **type_info** class describes type information generated within the program by the compiler. Objects of this class effectively store a pointer to a name for the type. The **type_info** class also stores an encoded value suitable for comparing two types for equality or collating order. The encoding rules and collating sequence for types are unspecified and may differ between programs.
4040

41-
The <`typeinfo>` header file must be included in order to use the **type_info** class. The interface for the **type_info** class is:
41+
The `<typeinfo>` header file must be included in order to use the **type_info** class. The interface for the **type_info** class is:
4242

43-
```
43+
```cpp
4444
class type_info {
4545
public:
4646
virtual ~type_info();
@@ -68,4 +68,4 @@ public:
6868
Type information is generated for polymorphic classes only if the [/GR (Enable Run-Time Type Information)](../build/reference/gr-enable-run-time-type-information.md) compiler option is specified.
6969
7070
## See Also
71-
[Run-Time Type Information](../cpp/run-time-type-information.md)
71+
[Run-Time Type Information](../cpp/run-time-type-information.md)

0 commit comments

Comments
 (0)