> For the complete documentation index, see [llms.txt](https://delusional-book.gitbook.io/a-tour-of-c++/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://delusional-book.gitbook.io/a-tour-of-c++/readme.md).

# 简介

本项目是基于 [windsting/a-tour-of-cpp-2nd-cn](https://windsting.github.io/a-tour-of-cpp-2nd-cn/) 的重新构建版本。采用Gitbook构建，仅供个人学习参考。

## 许可协议

本项目采用[知识共享 署名-非商业性使用 4.0 国际 (CC BY-NC 4.0) 许可证](https://creativecommons.org/licenses/by-nc/4.0/deed.zh)进行许可。

### 您可以自由地：

* **共享** — 在任何媒介以任何形式复制、发行本作品
* **演绎** — 修改、转换或以本作品为基础进行创作

### 惟须遵守下列条件：

* **署名** — 您必须给出适当的署名，提供指向本许可协议的链接，同时标明是否作了修改
* **非商业性使用** — 您不得将本作品用于商业目的
* **没有附加限制** — 您不得适用法律术语或者技术措施从而限制其他人做许可协议允许的事情

## 致谢

感谢译者 [windsting](https://github.com/windsting) 的翻译工作。支持[译者](https://www.buymeacoffee.com/windstings)。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://delusional-book.gitbook.io/a-tour-of-c++/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
