book: improve wording for decltype sentence (#100)

This commit is contained in:
Daniel
2020-05-27 07:33:39 +02:00
committed by GitHub
parent b5e90c4fdf
commit 0f39561c5a

View File

@@ -87,9 +87,8 @@ So, develop the habit of using `nullptr` directly.
In addition, in the above code, we used `decltype` and
`std::is_same` which are modern C++ syntax.
In simple terms, `decltype` is used for type derivation,
and `std::is_same` is used.
To compare the equality of the two types,
we will discuss them in detail later in the [decltype](#decltype) section.
and `std::is_same` is used to compare the equality of the two types.
We will discuss them in detail later in the [decltype](#decltype) section.
### constexpr