Skip to content

Commit 04f9111

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent cbddfb2 commit 04f9111

File tree

3 files changed

+61
-204
lines changed

3 files changed

+61
-204
lines changed

reference/random/piecewise_linear_distribution.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2019-12-17T03:50:04">
192-
2019年12月17日 03時50分04秒
191+
<span itemprop="datePublished" content="2024-05-17T05:21:26">
192+
2024年05月17日 05時21分26秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Kotaro Yoshimoto</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -298,7 +298,7 @@ <h3>プロパティ</h3>
298298
<td>C++11</td>
299299
</tr>
300300
<tr>
301-
<td><code><a href="https://cpprefjp.github.io/reference/random/piecewise_linear_distribution/min.html">mix</a></code></td>
301+
<td><code><a href="https://cpprefjp.github.io/reference/random/piecewise_linear_distribution/min.html">min</a></code></td>
302302
<td>下限を取得する</td>
303303
<td>C++11</td>
304304
</tr>

rss.xml

Lines changed: 56 additions & 199 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,64 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<link href="https://cpprefjp.github.io" />
5-
<updated>2024-05-17T05:05:59.864186</updated>
6-
<id>ce2e8fd8-fbcd-445c-9e29-1a5c1a7086b6</id>
5+
<updated>2024-05-17T05:34:28.411741</updated>
6+
<id>63e5ddf8-48e9-4268-a303-39e1a7d17d81</id>
77

88

9+
<entry>
10+
<title>piecewise_linear_distribution -- Merge pull request #1277 from cpprefjp/typofix/mix_to_min</title>
11+
<link href="https://cpprefjp.github.io/reference/random/piecewise_linear_distribution.html"/>
12+
<id>78f6f64b7865c052d06ef5bf47bd1d964f456c96:reference/random/piecewise_linear_distribution.md</id>
13+
<updated>2024-05-17T14:30:39+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/random/piecewise_linear_distribution.md b/reference/random/piecewise_linear_distribution.md
16+
index a213d6de1..4fffc975e 100644
17+
--- a/reference/random/piecewise_linear_distribution.md
18+
+++ b/reference/random/piecewise_linear_distribution.md
19+
@@ -48,7 +48,7 @@ namespace std {
20+
| [`intervals`](piecewise_linear_distribution/intervals.md) | 区間の数列を取得する | C++11 |
21+
| [`densities`](piecewise_linear_distribution/densities.md) | 重み付けの数列を取得する | C++11 |
22+
| [`param`](piecewise_linear_distribution/param.md) | 分布のパラメータを取得/設定する | C++11 |
23+
-| [`mix`](piecewise_linear_distribution/min.md) | 下限を取得する | C++11 |
24+
+| [`min`](piecewise_linear_distribution/min.md) | 下限を取得する | C++11 |
25+
| [`max`](piecewise_linear_distribution/max.md) | 上限を取得する | C++11 |
26+
27+
28+
&lt;/code&gt;&lt;/pre&gt;</summary>
29+
30+
<author>
31+
<name>Akira Takahashi</name>
32+
<email>[email protected]</email>
33+
</author>
34+
</entry>
35+
36+
<entry>
37+
<title>piecewise_linear_distribution -- Fix typo</title>
38+
<link href="https://cpprefjp.github.io/reference/random/piecewise_linear_distribution.html"/>
39+
<id>5871133be244bda206b60a0a3226ea55a0b0ab77:reference/random/piecewise_linear_distribution.md</id>
40+
<updated>2024-05-17T14:21:26+09:00</updated>
41+
42+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/random/piecewise_linear_distribution.md b/reference/random/piecewise_linear_distribution.md
43+
index a213d6de1..4fffc975e 100644
44+
--- a/reference/random/piecewise_linear_distribution.md
45+
+++ b/reference/random/piecewise_linear_distribution.md
46+
@@ -48,7 +48,7 @@ namespace std {
47+
| [`intervals`](piecewise_linear_distribution/intervals.md) | 区間の数列を取得する | C++11 |
48+
| [`densities`](piecewise_linear_distribution/densities.md) | 重み付けの数列を取得する | C++11 |
49+
| [`param`](piecewise_linear_distribution/param.md) | 分布のパラメータを取得/設定する | C++11 |
50+
-| [`mix`](piecewise_linear_distribution/min.md) | 下限を取得する | C++11 |
51+
+| [`min`](piecewise_linear_distribution/min.md) | 下限を取得する | C++11 |
52+
| [`max`](piecewise_linear_distribution/max.md) | 上限を取得する | C++11 |
53+
54+
55+
&lt;/code&gt;&lt;/pre&gt;</summary>
56+
57+
<author>
58+
<name>Kotaro Yoshimoto</name>
59+
<email>[email protected]</email>
60+
</author>
61+
</entry>
62+
963
<entry>
1064
<title>format -- C++26対応として、実行時の書式文字列サポートを記載 (close #1236)</title>
1165
<link href="https://cpprefjp.github.io/reference/format.html"/>
@@ -909,203 +963,6 @@ index 000000000..9081dcaa6
909963
+
910964
+## 参照
911965
+- [P2693R1 Formatting `thread::id` and `stacktrace`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2693r1.pdf)
912-
&lt;/code&gt;&lt;/pre&gt;</summary>
913-
914-
<author>
915-
<name>Akira Takahashi</name>
916-
<email>[email protected]</email>
917-
</author>
918-
</entry>
919-
920-
<entry>
921-
<title>basic_stacktrace -- stacktrace : formatterの特殊化を追加</title>
922-
<link href="https://cpprefjp.github.io/reference/stacktrace/basic_stacktrace.html"/>
923-
<id>e6a1afa4e17e3e9cda6ebd5c559a07839bf77644:reference/stacktrace/basic_stacktrace.md</id>
924-
<updated>2024-05-15T13:01:24+09:00</updated>
925-
926-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/stacktrace/basic_stacktrace.md b/reference/stacktrace/basic_stacktrace.md
927-
index 9b92d325f..18aa7ed55 100644
928-
--- a/reference/stacktrace/basic_stacktrace.md
929-
+++ b/reference/stacktrace/basic_stacktrace.md
930-
@@ -155,6 +155,13 @@ namespace std {
931-
| `template &amp;lt;class Allocator&amp;gt;`&amp;lt;br/&amp;gt; `struct hash&amp;lt;basic_stacktrace&amp;lt;Allocator&amp;gt;&amp;gt;;` | `hash`クラスの`basic_stacktrace`に対する特殊化 | C++23 |
932-
933-
934-
+### 文字列フォーマットサポート
935-
+
936-
+| 名前 | 説明 | 対応バージョン |
937-
+|------|------|----------------|
938-
+| `template &amp;lt;class Allocator&amp;gt;`&amp;lt;br/&amp;gt; `struct formatter&amp;lt;basic_stacktrace&amp;lt;Allocator&amp;gt;&amp;gt;;` | [`formatter`](/reference/format/formatter.md)の特殊化 | C++23 |
939-
+
940-
+
941-
## 例
942-
### 基本的な使い方
943-
```cpp example
944-
@@ -234,3 +241,6 @@ Expression &amp;#39;i &amp;gt;= 0&amp;#39; is false in f(int) at /app/example.cpp:15
945-
- 13まで : `-lstdc++_libbacktrace`
946-
- 14以降 : `-lstdc++exp`
947-
948-
+
949-
+## 参照
950-
+- [P2693R1 Formatting `thread::id` and `stacktrace`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2693r1.pdf)
951-
&lt;/code&gt;&lt;/pre&gt;</summary>
952-
953-
<author>
954-
<name>Akira Takahashi</name>
955-
<email>[email protected]</email>
956-
</author>
957-
</entry>
958-
959-
<entry>
960-
<title>stacktrace_entry -- stacktrace : formatterの特殊化を追加</title>
961-
<link href="https://cpprefjp.github.io/reference/stacktrace/stacktrace_entry.html"/>
962-
<id>e6a1afa4e17e3e9cda6ebd5c559a07839bf77644:reference/stacktrace/stacktrace_entry.md</id>
963-
<updated>2024-05-15T13:01:24+09:00</updated>
964-
965-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/stacktrace/stacktrace_entry.md b/reference/stacktrace/stacktrace_entry.md
966-
index fd95a8859..a71f52ce2 100644
967-
--- a/reference/stacktrace/stacktrace_entry.md
968-
+++ b/reference/stacktrace/stacktrace_entry.md
969-
@@ -86,6 +86,13 @@ namespace std {
970-
| `template &amp;lt;&amp;gt;`&amp;lt;br/&amp;gt; `struct hash&amp;lt;stacktrace_entry&amp;gt;;` | `hash`クラスの`stacktrace_entry`に対する特殊化 | C++23 |
971-
972-
973-
+## 文字列フォーマットサポート
974-
+
975-
+| 名前 | 説明 | 対応バージョン |
976-
+|------|------|----------------|
977-
+| [`formatter`](stacktrace_entry/formatter.md) | [`std::formatter`](/reference/format/formatter.md)クラスの特殊化 | C++23 |
978-
+
979-
+
980-
## 例
981-
```cpp example
982-
#include &amp;lt;iostream&amp;gt;
983-
&lt;/code&gt;&lt;/pre&gt;</summary>
984-
985-
<author>
986-
<name>Akira Takahashi</name>
987-
<email>[email protected]</email>
988-
</author>
989-
</entry>
990-
991-
<entry>
992-
<title>formatter -- stacktrace : formatterの特殊化を追加</title>
993-
<link href="https://cpprefjp.github.io/reference/stacktrace/stacktrace_entry/formatter.html"/>
994-
<id>e6a1afa4e17e3e9cda6ebd5c559a07839bf77644:reference/stacktrace/stacktrace_entry/formatter.md</id>
995-
<updated>2024-05-15T13:01:24+09:00</updated>
996-
997-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/stacktrace/stacktrace_entry/formatter.md b/reference/stacktrace/stacktrace_entry/formatter.md
998-
new file mode 100644
999-
index 000000000..9ba096a8f
1000-
--- /dev/null
1001-
+++ b/reference/stacktrace/stacktrace_entry/formatter.md
1002-
@@ -0,0 +1,68 @@
1003-
+# formatter
1004-
+* stacktrace[meta header]
1005-
+* std[meta namespace]
1006-
+* class[meta id-type]
1007-
+* cpp23[meta cpp]
1008-
+
1009-
+```cpp
1010-
+namespace std {
1011-
+ struct formatter&amp;lt;stacktrace_entry&amp;gt;;
1012-
+}
1013-
+```
1014-
+
1015-
+## 概要
1016-
+`stacktrace_entry`クラスに対する[`std::formatter`](/reference/format/formatter.md)クラステンプレートの特殊化。
1017-
+
1018-
+フォーマットフラグとしては、以下を使用できる:
1019-
+
1020-
+```
1021-
+[[fill] [align] [width]]
1022-
+```
1023-
+
1024-
+
1025-
+## 例
1026-
+```cpp example
1027-
+#include &amp;lt;print&amp;gt;
1028-
+#include &amp;lt;stacktrace&amp;gt;
1029-
+
1030-
+void g() {
1031-
+ std::stacktrace st = std::stacktrace::current(0, 1);
1032-
+ std::stacktrace_entry entry = st[0];
1033-
+
1034-
+ std::println(&amp;#34;{}&amp;#34;, entry);
1035-
+ std::println(&amp;#34;{: &amp;gt;30}&amp;#34;, entry);
1036-
+}
1037-
+
1038-
+void f() {
1039-
+ g();
1040-
+}
1041-
+
1042-
+int main() {
1043-
+ f();
1044-
+}
1045-
+```
1046-
+* std::stacktrace[link /reference/stacktrace/basic_stacktrace.md]
1047-
+* current[link /reference/stacktrace/basic_stacktrace/current.md]
1048-
+
1049-
+### 出力
1050-
+```
1051-
+ g() at /app/example.cpp:5
1052-
+ g() at /app/example.cpp:5
1053-
+```
1054-
+
1055-
+## バージョン
1056-
+### 言語
1057-
+- C++23
1058-
+
1059-
+### 処理系
1060-
+- [Clang](/implementation.md#clang): ??
1061-
+- [GCC](/implementation.md#gcc): 14
1062-
+- [Visual C++](/implementation.md#visual_cpp): ??
1063-
+
1064-
+
1065-
+## 関連項目
1066-
+- [`std::format()`](/reference/format/format.md) (フォーマットの詳細)
1067-
+
1068-
+
1069-
+## 参照
1070-
+- [P2693R1 Formatting `thread::id` and `stacktrace`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2693r1.pdf)
1071-
&lt;/code&gt;&lt;/pre&gt;</summary>
1072-
1073-
<author>
1074-
<name>Akira Takahashi</name>
1075-
<email>[email protected]</email>
1076-
</author>
1077-
</entry>
1078-
1079-
<entry>
1080-
<title>format -- format : C++26対応としてポインタ値を大文字で出力するPオプションを追加 (close #1187)</title>
1081-
<link href="https://cpprefjp.github.io/reference/format/format.html"/>
1082-
<id>0b3b945a6d99aa56c955e2abbc367af09a3fa85c:reference/format/format.md</id>
1083-
<updated>2024-05-15T12:25:55+09:00</updated>
1084-
1085-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/format/format.md b/reference/format/format.md
1086-
index 8745522d7..2f280f494 100644
1087-
--- a/reference/format/format.md
1088-
+++ b/reference/format/format.md
1089-
@@ -155,9 +155,10 @@ string s3 = format(&amp;#34;{} {1}&amp;#34;, &amp;#34;a&amp;#34;, &amp;#34;b&amp;#34;); // コンパイルエラー
1090-
1091-
#### ポインタの場合
1092-
1093-
-| type | 意味 | 効果 |
1094-
-|:-----------|:-------------------|:----------------------------------------------------------------------------------------------------------------|
1095-
-| p | アドレスを出力する | `0x` につづいて、`to_chars(first, last, reinterpret_cast&amp;lt;uintptr_t&amp;gt;(value), 16)` の結果を出力する |
1096-
+| type | 意味 | 効果 | 対応バージョン |
1097-
+|:-----|:-------------------|:--------------------------------------------------------------------------------------------------|----------------|
1098-
+| p | アドレスを出力する | `0x` につづいて、`to_chars(first, last, reinterpret_cast&amp;lt;uintptr_t&amp;gt;(value), 16)` の結果を出力する | C++20 |
1099-
+| P | アドレスを出力する | pと基本的に同じだが、9桁を超える場合に大文字にし、先頭に`0X`をつける | C++26 |
1100-
1101-
デフォルトは `p`。
1102-
1103-
@@ -682,3 +683,5 @@ wstring format(const locale&amp;amp; loc, wformat_string&amp;lt;Args...&amp;gt; fmt, const Args&amp;amp;... ar
1104-
- [P2286R8 Formatting Ranges](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2286r8.html)
1105-
- C++23から、Range・コンテナ、`pair`、`tuple`のフォーマット出力、および文字・文字列のデバッグ指定 (`&amp;#34;?&amp;#34;`) が追加された
1106-
- [P2418R2 Add support for `std::generator`-like types to `std::format`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2418r2.html)
1107-
+- [P2510R3 Formatting pointers](https://open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2510r3.pdf)
1108-
+ - C++26から、ポインタ値を大文字で出力する`P`オプションが追加された
1109966
&lt;/code&gt;&lt;/pre&gt;</summary>
1110967

1111968
<author>

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10412,7 +10412,7 @@
1041210412

1041310413
<url>
1041410414
<loc>https://cpprefjp.github.io/reference/random/piecewise_linear_distribution.html</loc>
10415-
<lastmod>2024-05-13T15:20:19+09:00</lastmod>
10415+
<lastmod>2024-05-17T14:30:39+09:00</lastmod>
1041610416
<changefreq>daily</changefreq>
1041710417
<priority>0.7</priority>
1041810418
</url>

0 commit comments

Comments
 (0)