Skip to content

Commit

Permalink
print(ln) : コンパイルエラー行をコメントアウト
Browse files Browse the repository at this point in the history
  • Loading branch information
faithandbrave committed Feb 1, 2023
1 parent bc47b38 commit a689c6b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion reference/print/print.md
Expand Up @@ -118,10 +118,15 @@ int main()
// stdout / stderrはマクロとして定義される。
// モジュールはマクロをエクスポートしないので、
// stdout / stderrは使用できない
std::print(stdout, "Hello {} World\n", 42); // エラー!stdoutが見つからない
// std::print(stdout, "Hello {} World\n", 42); // エラー!stdoutが見つからない
}
```

#### 出力
```
Hello 42 World
```

## バージョン
### 言語
- C++23
Expand Down
7 changes: 6 additions & 1 deletion reference/print/println.md
Expand Up @@ -86,10 +86,15 @@ int main()
// stdout / stderrはマクロとして定義される。
// モジュールはマクロをエクスポートしないので、
// stdout / stderrは使用できない
std::println(stdout, "Hello {} World", 42); // エラー!stdoutが見つからない
// std::println(stdout, "Hello {} World", 42); // エラー!stdoutが見つからない
}
```

#### 出力
```
Hello 42 World
```

## バージョン
### 言語
- C++23
Expand Down

0 comments on commit a689c6b

Please sign in to comment.