22<feed xmlns =" http://www.w3.org/2005/Atom" >
33 <title >cpprefjp - C++日本語リファレンス</title >
44 <link href =" https://cpprefjp.github.io" />
5- <updated >2024-09-23T14:42:25.243119 </updated >
6- <id >3416b0c7-cd9f-4294-88aa-f559622ae73e </id >
5+ <updated >2024-09-24T04:57:23.410973 </updated >
6+ <id >e9f5ecd3-e2fc-498f-b70c-9d915d0c27f8 </id >
77
88
9+ <entry >
10+ <title >equal_range -- multimap::equa_range : エラー処理を追加</title >
11+ <link href =" https://cpprefjp.github.io/reference/map/multimap/equal_range.html" />
12+ <id >175916c441664380e59c570bc035641e9c9c03b4:reference/map/multimap/equal_range.md</id >
13+ <updated >2024-09-24T13:54:10+09:00</updated >
14+
15+ <summary type =" html" >< pre>< code> diff --git a/reference/map/multimap/equal_range.md b/reference/map/multimap/equal_range.md
16+ index 5c01978a9..e523e8717 100644
17+ --- a/reference/map/multimap/equal_range.md
18+ +++ b/reference/map/multimap/equal_range.md
19+ @@ -58,6 +58,10 @@ int main()
20+
21+ using iterator = decltype(m)::iterator;
22+ std::pair& lt;iterator, iterator& gt; ret = m.equal_range(& #34;B& #34;);
23+ + if (ret.first == m.end()) {
24+ + std::cout & lt;& lt; & #34;not found& #34; & lt;& lt; std::endl;
25+ + return 1;
26+ + }
27+
28+ for (iterator it = ret.first; it != ret.second; ++it) {
29+ std::cout & lt;& lt; it-& gt;first & lt;& lt; & #34;,& #34; & lt;& lt; it-& gt;second & lt;& lt; std::endl;
30+ < /code>< /pre> </summary >
31+
32+ <author >
33+ <name >Akira Takahashi</name >
34+ <email >faithandbrave@gmail.com</email >
35+ </author >
36+ </entry >
37+
938 <entry >
1039 <title >コンストラクタ -- 箇条書きの表示崩れを修正</title >
1140 <link href =" https://cpprefjp.github.io/reference/random/uniform_real_distribution/op_constructor.html" />
@@ -120,119 +149,4 @@ index d64649495..b2dc13309 100644
120149 </author >
121150 </entry >
122151
123- <entry >
124- <title >debugging -- fix typo</title >
125- <link href =" https://cpprefjp.github.io/reference/debugging.html" />
126- <id >d9d9c67a6159d03bc09fd61e50d4b802a36aae64:reference/debugging.md</id >
127- <updated >2024-09-19T22:47:18+09:00</updated >
128-
129- <content type =" html" >< div class=" header">& lt;debugging& gt;< /div>< h1 itemprop=" name">< span class=" token"> debugging< /span>< span class=" cpp cpp26" title=" C++26で追加"> (C++26)< /span>< /h1>
130- < div itemprop=" articleBody">< p>< code>& lt;debugging& gt;< /code> ヘッダでは、プログラムのデバッグ実行をサポートする機能を提供する。< /p>
131- < table border=" 1" bordercolor=" #888" style=" border-collapse:collapse">
132- < thead>
133- < tr>
134- < th> 名前< /th>
135- < th> 説明< /th>
136- < th> 対応バージョン< /th>
137- < /tr>
138- < /thead>
139- < tbody>
140- < tr>
141- < td>< code>< a href=" debugging/breakpoint.html"> breakpoint< /a>< /code>< /td>
142- < td> ブレークポイントを設置する (functional)< /td>
143- < td> C++26< /td>
144- < /tr>
145- < tr>
146- < td>< code>< a href=" debugging/breakpoint_if_debugging.html"> breakpoint_if_debugging< /a>< /code>< /td>
147- < td> デバッガ実行時のみブレークポイントを設置する (functional)< /td>
148- < td> C++26< /td>
149- < /tr>
150- < tr>
151- < td>< code>< a href=" debugging/is_debugger_present.html"> is_debugger_present< /a>< /code>< /td>
152- < td> デバッガ実行中か判定する (functional)< /td>
153- < td> C++26< /td>
154- < /tr>
155- < /tbody>
156- < /table>
157- < h2> この機能が必要になった背景・経緯< /h2>
158- < p> 開発プラットフォームによってデバッガやブレークポイントの機能は提供されているが、本ライブラリのようにプログラム中に明示的にブレークポイントを設置し、プログラムとデバッガを対話させることでデバッグ体験が向上することがある。< /p>
159- < p> 実装経験としては以下のようなものがあり、これらをこのライブラリで標準化した:< /p>
160- < table border=" 1" bordercolor=" #888" style=" border-collapse:collapse">
161- < thead>
162- < tr>
163- < th> 開発環境< /th>
164- < th> 機能< /th>
165- < /tr>
166- < /thead>
167- < tbody>
168- < tr>
169- < td> Microsoft C/C++ Optimizing Compiler< /td>
170- < td>< code> __debugbreak()< /code> 関数 (無条件ブレークポイント)< /td>
171- < /tr>
172- < tr>
173- < td> Win32 API< /td>
174- < td>< code> IsDebuggerPresent()< /code> 関数 (デバッガ実行中か判定)< /td>
175- < /tr>
176- < tr>
177- < td> LLVM Clang< /td>
178- < td>< code> __builtin_debugtrap()< /code> 組み込み関数 (無条件ブレークポイント)< /td>
179- < /tr>
180- < tr>
181- < td> arm Keil, ARM Compiler< /td>
182- < td>< code> __breakpoint()< /code> 関数 (無条件ブレークポイント)< /td>
183- < /tr>
184- < tr>
185- < td> Portable Snippetsライブラリ< /td>
186- < td>< code> psnip_trap()< /code> 関数 (無条件ブレークポイント)< /td>
187- < /tr>
188- < tr>
189- < td> Debug Breakライブラリ< /td>
190- < td>< code> debug_break()< /code> 関数 (無条件ブレークポイント)< /td>
191- < /tr>
192- < tr>
193- < td> Boost.Testライブラリ< /td>
194- < td>< code> debugger_break()< /code> 関数 (無条件ブレークポイント)< br /> < code> under_debugger()< /code> 関数 (デバッガ実行中か判定)< /td>
195- < /tr>
196- < tr>
197- < td> EASTLライブラリ< /td>
198- < td>< code> EASTL_DEBUG_BREAK()< /code> マクロ (無条件ブレークポイント)< /td>
199- < /tr>
200- < tr>
201- < td> Catch2ライブラリ< /td>
202- < td>< code> CATCH_TRAP< /code> マクロ (無条件ブレークポイント)< br /> < code> CATCH_BREAK_INTO_DEBUGGER< /code> マクロ (条件付きブレークポイント)< br /> < code> isDebuggerActive()< /code> 関数 (デバッガ実行中か判定)< /td>
203- < /tr>
204- < tr>
205- < td> JUCEライブラリ< /td>
206- < td>< code> JUCE_BREAK_IN_DEBUGGER< /code> マクロ (無条件ブレークポイント)< br /> < code> juce_isRunningUnderDebugger()< /code> 関数、< code> Process::isRunningUnderDebugger()< /code> 関数 (デバッガ実行中か判定)< /td>
207- < /tr>
208- < tr>
209- < td> ImGuiライブラリ< /td>
210- < td>< code> IM_DEBUG_BREAK()< /code> マクロ (無条件ブレークポイント)< /td>
211- < /tr>
212- < tr>
213- < td> AWS C SDK< /td>
214- < td>< code> aws_debug_break()< /code> 関数 (条件付きブレークポイント)< br /> < code> aws_is_debugger_present()< /code> 関数 (デバッガ実行中か判定)< /td>
215- < /tr>
216- < tr>
217- < td> UnrealEngine< /td>
218- < td>< code> UE_DEBUG_BREAK< /code> マクロ (条件付きブレークポイント)< br /> < code> IsDebuggerPresent()< /code> 関数 (デバッガ実行中か判定)< /td>
219- < /tr>
220- < /tbody>
221- < /table>
222- < h2> バージョン< /h2>
223- < h3> 言語< /h3>
224- < ul>
225- < li> C++26< /li>
226- < /ul>
227- < h2> 参照< /h2>
228- < ul>
229- < li>< a href=" https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2546r5.html" target=" _blank"> P2546R5 Debugging Support< /a>< /li>
230- < /ul>< /div> </content >
231-
232- <author >
233- <name >raclamusi</name >
234- <email >raclamusi@gmail.com</email >
235- </author >
236- </entry >
237-
238152</feed >
0 commit comments