Skip to content

Commit 52aff9f

Browse files
committed
revision changkun#2: 更新编译环境
1 parent cc294b2 commit 52aff9f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

book/01-intro.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# 第 1 章 迈向 C++11/14/17
22

3-
<!-- toc -->
3+
[TOC]
44

5-
本书将使用 `clang++` 作为唯一使用的编译器,同时总是在代码中使用 `-std=c++17` 编译标志。
5+
**编译环境**:本书将使用 `clang++` 作为唯一使用的编译器,同时总是在代码中使用 `-std=c++17` 编译标志。
6+
7+
```bash
8+
→ clang++ -v
9+
Apple LLVM version 9.1.0 (clang-902.0.39.1)
10+
Target: x86_64-apple-darwin17.5.0
11+
Thread model: posix
12+
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
13+
```
614

715
## 1.1 被弃用的特性
816

0 commit comments

Comments
 (0)