Skip to content

Commit 0f39561

Browse files
book: improve wording for decltype sentence (changkun#100)
1 parent b5e90c4 commit 0f39561

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

book/en-us/02-usability.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ So, develop the habit of using `nullptr` directly.
8787
In addition, in the above code, we used `decltype` and
8888
`std::is_same` which are modern C++ syntax.
8989
In simple terms, `decltype` is used for type derivation,
90-
and `std::is_same` is used.
91-
To compare the equality of the two types,
92-
we will discuss them in detail later in the [decltype](#decltype) section.
90+
and `std::is_same` is used to compare the equality of the two types.
91+
We will discuss them in detail later in the [decltype](#decltype) section.
9392

9493
### constexpr
9594

0 commit comments

Comments
 (0)