Skip to content

Commit ca5f1bd

Browse files
committed
chrono::year : コード例を修正と動作確認
コード中のtypoを修正し、修正したコードの動作を確認しました。
1 parent 0d693ca commit ca5f1bd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

reference/chrono/year/max.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace chrono = std::chrono;
2626

2727
int main()
2828
{
29-
std::cout << chrono::years::max() << std::endl;
29+
std::cout << chrono::year::max() << std::endl;
3030
}
3131
```
3232
* max()[color ff0000]
@@ -43,5 +43,5 @@ int main()
4343

4444
### 処理系
4545
- [Clang](/implementation.md#clang): 8.0 [mark verified]
46-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
46+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
4747
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]

reference/chrono/year/min.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace chrono = std::chrono;
2626

2727
int main()
2828
{
29-
std::cout << chrono::years::min() << std::endl;
29+
std::cout << chrono::year::min() << std::endl;
3030
}
3131
```
3232
* min()[color ff0000]
@@ -43,5 +43,5 @@ int main()
4343

4444
### 処理系
4545
- [Clang](/implementation.md#clang): 8.0 [mark verified]
46-
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
46+
- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 15.1 [mark verified]
4747
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]

0 commit comments

Comments
 (0)