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-03-01T14:40:41.187204 </updated >
6
- <id >24684525-55d8-47f7-b04e-64502a0a5774 </id >
5
+ <updated >2025-03-02T07:02:48.372556 </updated >
6
+ <id >e6acfa76-6bb9-445b-96c6-a1e422494b47 </id >
7
7
8
8
9
+ <entry >
10
+ <title >try_lock -- try_lockのコード例のコンパイルが通らない問題を修正</title >
11
+ <link href =" https://cpprefjp.github.io/reference/mutex/try_lock.html" />
12
+ <id >c312d2fd51e6cc719dd305ada29e704f66a40647:reference/mutex/try_lock.md</id >
13
+ <updated >2025-03-02T15:55:40+09:00</updated >
14
+
15
+ <summary type =" html" >< pre>< code> diff --git a/reference/mutex/try_lock.md b/reference/mutex/try_lock.md
16
+ index 09155577f..35801efd9 100644
17
+ --- a/reference/mutex/try_lock.md
18
+ +++ b/reference/mutex/try_lock.md
19
+ @@ -34,6 +34,7 @@ namespace std {
20
+ ## 例
21
+ ```cpp example
22
+ #include & lt;cassert& gt;
23
+ +#include & lt;thread& gt;
24
+ #include & lt;mutex& gt;
25
+
26
+ int main()
27
+ < /code>< /pre> </summary >
28
+
29
+ <author >
30
+ <name >komori-n</name >
31
+
32
+ </author >
33
+ </entry >
34
+
9
35
<entry >
10
36
<title >コンストラクタ -- リンクを修正</title >
11
37
<link href =" https://cpprefjp.github.io/reference/chrono/year_month_day/op_constructor.html" />
@@ -2543,31 +2569,4 @@ index 743d86a47..0758e8aae 100644
2543
2569
</author >
2544
2570
</entry >
2545
2571
2546
- <entry >
2547
- <title >contains -- fix sample in flat_multiset</title >
2548
- <link href =" https://cpprefjp.github.io/reference/flat_set/flat_multiset/contains.html" />
2549
- <id >816853121ff41b05699b3edb3ec38c95cce82db5:reference/flat_set/flat_multiset/contains.md</id >
2550
- <updated >2025-02-18T20:11:13+09:00</updated >
2551
-
2552
- <summary type =" html" >< pre>< code> diff --git a/reference/flat_set/flat_multiset/contains.md b/reference/flat_set/flat_multiset/contains.md
2553
- index 48e2daa1a..3bc429600 100644
2554
- --- a/reference/flat_set/flat_multiset/contains.md
2555
- +++ b/reference/flat_set/flat_multiset/contains.md
2556
- @@ -51,7 +51,7 @@ return find(x) != end();
2557
-
2558
- int main()
2559
- {
2560
- - std::flat_set& lt;int& gt; fs = {3, 1, 4, 1};
2561
- + std::flat_multiset& lt;int& gt; fs = {3, 1, 4, 1};
2562
-
2563
- // キー3の要素が含まれているか
2564
- if (fs.contains(3)) {
2565
- < /code>< /pre> </summary >
2566
-
2567
- <author >
2568
- <name >suomesta</name >
2569
-
2570
- </author >
2571
- </entry >
2572
-
2573
2572
</feed >
0 commit comments