|
2 | 2 | <feed xmlns="http://www.w3.org/2005/Atom"> |
3 | 3 | <title>cpprefjp - C++日本語リファレンス</title> |
4 | 4 | <link href="https://cpprefjp.github.io" /> |
5 | | - <updated>2025-07-07T15:06:46.612278</updated> |
6 | | - <id>bdbb93c4-61e2-4dc0-8f4c-6f92aea47588</id> |
| 5 | + <updated>2025-07-07T15:39:27.037324</updated> |
| 6 | + <id>4f7261c3-e416-454a-a614-bf5520a7b840</id> |
7 | 7 |
|
8 | 8 |
|
| 9 | + <entry> |
| 10 | + <title>calloc -- delete unnecessary space</title> |
| 11 | + <link href="https://cpprefjp.github.io/reference/cstdlib/calloc.html"/> |
| 12 | + <id>28dcdfac5b4dd06005971b3fd05155b40ed26280:reference/cstdlib/calloc.md</id> |
| 13 | + <updated>2025-07-08T00:16:37+09:00</updated> |
| 14 | + |
| 15 | + <summary type="html"><pre><code>diff --git a/reference/cstdlib/calloc.md b/reference/cstdlib/calloc.md |
| 16 | +index c370b8ad1..834985107 100644 |
| 17 | +--- a/reference/cstdlib/calloc.md |
| 18 | ++++ b/reference/cstdlib/calloc.md |
| 19 | +@@ -16,7 +16,7 @@ namespace std { |
| 20 | + |
| 21 | + この関数で返されるポインタは、割当領域の先頭のポインタである。 |
| 22 | + |
| 23 | +-領域の確保に失敗し た場合は、[`nullptr`](/lang/cpp11/nullptr.md)を返す。 |
| 24 | ++領域の確保に失敗した場合は、[`nullptr`](/lang/cpp11/nullptr.md)を返す。 |
| 25 | + |
| 26 | + 割り当てられたオブジェクトの寿命は、このメモリが割り当てられた時から、[`free`](free.md)などで解放されるまでである。 |
| 27 | + |
| 28 | +</code></pre></summary> |
| 29 | + |
| 30 | + <author> |
| 31 | + <name>K10-K10</name> |
| 32 | + |
| 33 | + </author> |
| 34 | + </entry> |
| 35 | + |
9 | 36 | <entry> |
10 | 37 | <title>emplace -- flatなコンテナのemplace/_hintの計算量追記</title> |
11 | 38 | <link href="https://cpprefjp.github.io/reference/flat_map/flat_map/emplace.html"/> |
@@ -438,33 +465,6 @@ index 98990cf85..6820bc78f 100644 |
438 | 465 |
|
439 | 466 | ## 参照 |
440 | 467 |
|
441 | | -</code></pre></summary> |
442 | | - |
443 | | - <author> |
444 | | - <name>K10-K10</name> |
445 | | - |
446 | | - </author> |
447 | | - </entry> |
448 | | - |
449 | | - <entry> |
450 | | - <title>free -- 文法の修正</title> |
451 | | - <link href="https://cpprefjp.github.io/reference/cstdlib/free.html"/> |
452 | | - <id>f189c2260e14694f7db6fbb34b27cc00006d27e8:reference/cstdlib/free.md</id> |
453 | | - <updated>2025-07-07T22:12:57+09:00</updated> |
454 | | - |
455 | | - <summary type="html"><pre><code>diff --git a/reference/cstdlib/free.md b/reference/cstdlib/free.md |
456 | | -index fd1dc695a..389c2fbb8 100644 |
457 | | ---- a/reference/cstdlib/free.md |
458 | | -+++ b/reference/cstdlib/free.md |
459 | | -@@ -12,7 +12,7 @@ namespace std { |
460 | | - ## 概要 |
461 | | - `malloc`、`calloc`、`aligned_alloc`、`realloc`で確保されたメモリ領域を解放する。 |
462 | | - |
463 | | --解放済みのポインタを再度 `free` に渡したり、アクセスしたりすると未定義動作となる。 |
464 | | -+解放済みのポインタを再度 `free` に渡したり、アクセスしたりするときの動作は未定義となる。 |
465 | | - |
466 | | - ポインタが`nullptr`の場合、この関数は何も実行しない。 |
467 | | - |
468 | 468 | </code></pre></summary> |
469 | 469 |
|
470 | 470 | <author> |
|
0 commit comments