X Tutup
Skip to content

book: fix imprecise description of NULL in C++#279

Merged
changkun merged 1 commit intochangkun:masterfrom
frederick-vs-ja:fix-NULL
May 20, 2024
Merged

book: fix imprecise description of NULL in C++#279
changkun merged 1 commit intochangkun:masterfrom
frederick-vs-ja:fix-NULL

Conversation

@frederick-vs-ja
Copy link
Copy Markdown
Contributor

resolve #274

Description

The description of NULL in C++ in 02-usability.md was fundamentally wrong. This PR correct the description and explain what null pointer constants does.

Change List

  • Add explanation for null pointer constants
  • Resolve erroneous description of NULL in C++

Reference


说明

02-usability.md 中关于 NULL 在 C++ 中的描述有基础错误。此 PR 更正描述并解释了空指针常量会做什么。

变化箱单

  • 增加了空指针常量相关的说明
  • 解决了关于 NULL 在 C++ 中的错误描述

参考文献

@changkun changkun merged commit bdf0e89 into changkun:master May 20, 2024
@frederick-vs-ja frederick-vs-ja deleted the fix-NULL branch May 21, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C++ 中不允许将 NULL 定义为 ((void*)0)

2 participants

X Tutup