22<feed xmlns =" http://www.w3.org/2005/Atom" >
33 <title >cpprefjp - C++日本語リファレンス</title >
44 <link href =" https://cpprefjp.github.io" />
5- <updated >2025-06-23T04:10:19.870805 </updated >
6- <id >922c44a9-815b-4ba0-8f0b-fbde216f3e05 </id >
5+ <updated >2025-06-23T10:55:34.373826 </updated >
6+ <id >a6efa58d-be9b-4157-bf0d-617fa1ddc688 </id >
77
88
9+ <entry >
10+ <title >get -- get(const tuple&& ) の C++ バージョンを修正</title >
11+ <link href =" https://cpprefjp.github.io/reference/tuple/tuple/get.html" />
12+ <id >c601a46e52984303554cad21991d10469a9a9cde:reference/tuple/tuple/get.md</id >
13+ <updated >2025-06-23T19:51:49+09:00</updated >
14+
15+ <summary type =" html" >< pre>< code> diff --git a/reference/tuple/tuple/get.md b/reference/tuple/tuple/get.md
16+ index 8c170518b..a5a19b8b2 100644
17+ --- a/reference/tuple/tuple/get.md
18+ +++ b/reference/tuple/tuple/get.md
19+ @@ -44,7 +44,7 @@ namespace std {
20+ constexpr const T& amp; get(const tuple& lt;Types...& gt;& amp; t) noexcept; // (7) C++14
21+
22+ template & lt;class T, class... Types& gt;
23+ - constexpr const T& amp;& amp; get(const tuple& lt;Types...& gt;& amp;& amp; t) noexcept; // (8) C++14
24+ + constexpr const T& amp;& amp; get(const tuple& lt;Types...& gt;& amp;& amp; t) noexcept; // (8) C++17
25+ }
26+ ```
27+ * tuple_element[link ../tuple_element.md]
28+ < /code>< /pre> </summary >
29+
30+ <author >
31+ <name >Raclamusi</name >
32+ 33+ </author >
34+ </entry >
35+
936 <entry >
1037 <title >get -- get() に const tuple&& 版を追加</title >
1138 <link href =" https://cpprefjp.github.io/reference/tuple/tuple/get.html" />
@@ -943,88 +970,4 @@ index db4146dee..9d278cfa3 100644
943970 </author >
944971 </entry >
945972
946- <entry >
947- <title >equal_range -- ranges::find, lower_bound, equal_range : 射影変換の例でコピーを抑止するよう修正</title >
948- <link href =" https://cpprefjp.github.io/reference/algorithm/ranges_equal_range.html" />
949- <id >03948a4259a83ca1fd22828ff60b945b45ac9431:reference/algorithm/ranges_equal_range.md</id >
950- <updated >2025-06-18T14:11:01+09:00</updated >
951-
952- <summary type =" html" >< pre>< code> diff --git a/reference/algorithm/ranges_equal_range.md b/reference/algorithm/ranges_equal_range.md
953- index fa5266fb4..41354e6fe 100644
954- --- a/reference/algorithm/ranges_equal_range.md
955- +++ b/reference/algorithm/ranges_equal_range.md
956- @@ -218,7 +218,8 @@ int main() {
957- v,
958- key,
959- {},
960- - [](const X& amp; x) { return x.name; }
961- + // x.nameがコピーされないよう戻り値型を明示的に指定
962- + [](const X& amp; x) -& gt; const std::string& amp; { return x.name; }
963- );
964- std::cout & lt;& lt; & #34;[ラムダ式]& #34; & lt;& lt; std::endl;
965- for (const X& amp; x : result2) {
966- < /code>< /pre> </summary >
967-
968- <author >
969- <name >Akira Takahashi</name >
970- 971- </author >
972- </entry >
973-
974- <entry >
975- <title >find -- ranges::find, lower_bound, equal_range : 射影変換の例でコピーを抑止するよう修正</title >
976- <link href =" https://cpprefjp.github.io/reference/algorithm/ranges_find.html" />
977- <id >03948a4259a83ca1fd22828ff60b945b45ac9431:reference/algorithm/ranges_find.md</id >
978- <updated >2025-06-18T14:11:01+09:00</updated >
979-
980- <summary type =" html" >< pre>< code> diff --git a/reference/algorithm/ranges_find.md b/reference/algorithm/ranges_find.md
981- index 41dfe9d96..274724a14 100644
982- --- a/reference/algorithm/ranges_find.md
983- +++ b/reference/algorithm/ranges_find.md
984- @@ -140,7 +140,8 @@ int main() {
985- auto it = std::ranges::find(
986- v,
987- std::string(& #34;bbb& #34;),
988- - [](const Item& amp; x) { return x.name; }
989- + // コピーされないよう戻り値型を明示的に指定
990- + [](const Item& amp; x) -& gt; const std::string& amp; { return x.name; }
991- );
992- if (it == v.end()) {
993- std::cout & lt;& lt; & #34;not found& #34; & lt;& lt; std::endl;
994- < /code>< /pre> </summary >
995-
996- <author >
997- <name >Akira Takahashi</name >
998- 999- </author >
1000- </entry >
1001-
1002- <entry >
1003- <title >lower_bound -- ranges::find, lower_bound, equal_range : 射影変換の例でコピーを抑止するよう修正</title >
1004- <link href =" https://cpprefjp.github.io/reference/algorithm/ranges_lower_bound.html" />
1005- <id >03948a4259a83ca1fd22828ff60b945b45ac9431:reference/algorithm/ranges_lower_bound.md</id >
1006- <updated >2025-06-18T14:11:01+09:00</updated >
1007-
1008- <summary type =" html" >< pre>< code> diff --git a/reference/algorithm/ranges_lower_bound.md b/reference/algorithm/ranges_lower_bound.md
1009- index 9b4d1be4f..b046fa0b7 100644
1010- --- a/reference/algorithm/ranges_lower_bound.md
1011- +++ b/reference/algorithm/ranges_lower_bound.md
1012- @@ -267,7 +267,8 @@ int main() {
1013- v,
1014- key,
1015- {},
1016- - [](const X& amp; x) { return x.name; }
1017- + // コピーされないよう戻り値型を明示的に指定
1018- + [](const X& amp; x) -& gt; const std::string& amp; { return x.name; }
1019- );
1020- if (it2 != v.end() & amp;& amp; it2-& gt;name == key) {
1021- std::size_t pos = std::ranges::distance(v.begin(), it2);
1022- < /code>< /pre> </summary >
1023-
1024- <author >
1025- <name >Akira Takahashi</name >
1026- 1027- </author >
1028- </entry >
1029-
1030973</feed >
0 commit comments