Skip to content

Commit cbfd3bc

Browse files
authored
Merge pull request #5244 from Rageking8/normalize-c++-code-block-language-to-cpp
Normalize C++ code block language to `cpp`
2 parents e55dc29 + 7986cd2 commit cbfd3bc

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

docs/c-runtime-library/reference/floating-point-ordering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered"
32
title: "isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered"
3+
description: "Learn more about: isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered"
44
ms.date: "01/31/2019"
55
f1_keywords: ["isgreater", "math/isgreater", "isgreaterequal", "math/isgreaterequal", "isless", "math/isless", "islessequal", "math/islessequal", "islessgreater", "math/islessgreater", "isunordered", "math/isunordered"]
66
helpviewer_keywords: ["isgreater function", "isgreaterequal function", "isless function", "islessequal function", "islessgreater function", "isunordered function"]
@@ -43,7 +43,7 @@ int isunordered(
4343
); /* C-only macro */
4444
```
4545

46-
```C++
46+
```cpp
4747
template <class FloatingType1, class FloatingType2>
4848
inline bool isgreater(
4949
FloatingType1 x,

docs/cpp/com-ptr-t-extractors.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: "Describes the extraction operators for the _com_ptr_t class."
44
ms.date: 07/07/2020
55
f1_keywords: ["_com_ptr_t::operatorInterface&", "_com_ptr_t::operatorbool", "_com_ptr_t::operator->", "_com_ptr_t::operator*"]
66
helpviewer_keywords: ["operator Interface& [C++]", "* operator [C++], with specific objects", "operator& [C++]", "operator* [C++]", "-> operator [C++], with specific objects", "& operator [C++], with specific objects", "operator Interface* [C++]", "operator * [C++]", "operator->", "operator bool", "extractors, _com_ptr_t class", "extractors [C++]"]
7-
ms.assetid: 194b9e0e-123c-49ff-a187-0a7fcd68145a
87
---
98
# `_com_ptr_t` Extractors
109

@@ -14,7 +13,7 @@ Extract the encapsulated COM interface pointer.
1413

1514
## Syntax
1615

17-
```c++
16+
```cpp
1817
operator Interface*( ) const throw( );
1918
operator Interface&( ) const;
2019
Interface& operator*( ) const;

docs/overview/cpp-conformance-improvements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ bool b = S{} != S{};
525525

526526
The compiler accepts this code, which means that the compiler is more strict with code such as:
527527

528-
```c++
528+
```cpp
529529
struct S
530530
{
531531
operator bool() const;

0 commit comments

Comments
 (0)