Skip to content

Commit

Permalink
未初期化メモリに対するアルゴリズム、事前条件追記
Browse files Browse the repository at this point in the history
  • Loading branch information
onihusube committed Nov 8, 2023
1 parent 1bf71dc commit 9a64346
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reference/memory/uninitialized_copy.md
Expand Up @@ -25,6 +25,9 @@ namespace std {
入力範囲`[first, last)`のコピーを未初期化出力範囲`[result, )`に書き込む。
## 事前条件
- イテレータ範囲`[result, result + (last - first))`が`[first, last)`と重ならないこと
## 効果
- C++03 : 以下と等価
Expand Down
3 changes: 3 additions & 0 deletions reference/memory/uninitialized_copy_n.md
Expand Up @@ -26,6 +26,9 @@ namespace std {
入力イテレータ範囲`[first, first + n)`のコピーを未初期化出力イテレータ範囲`[result, result + n)`に書き込む。
## 事前条件
- イテレータ範囲`[result, result + n)`が`[first, first + n)`と重ならないこと
## 効果
- C++11 : 以下と等価
Expand Down
3 changes: 3 additions & 0 deletions reference/memory/uninitialized_move.md
Expand Up @@ -26,6 +26,9 @@ namespace std {
入力範囲`[first, last)`からムーブして未初期化出力範囲`[result, )`に書き込む。
## 事前条件
- イテレータ範囲`[result, result + (last - first))`が`[first, last)`と重ならないこと
## 効果
以下と等価:
Expand Down
3 changes: 3 additions & 0 deletions reference/memory/uninitialized_move_n.md
Expand Up @@ -26,6 +26,9 @@ namespace std {
入力イテレータ範囲`[first, first + n)`からムーブして未初期化出力イテレータ範囲`[result, )`に書き込む。
## 事前条件
- イテレータ範囲`[result, result + n)`が`[first, first + n)`と重ならないこと
## 効果
以下と等価:
Expand Down

0 comments on commit 9a64346

Please sign in to comment.