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 >2024-07-18T14:39:08.812157 </updated >
6
- <id >1b5e2901-5a79-4e30-931b-8390526d1441 </id >
5
+ <updated >2024-07-18T15:11:41.608601 </updated >
6
+ <id >d3fadbc2-5d57-4bb1-901b-da87b3c12700 </id >
7
7
8
8
9
+ <entry >
10
+ <title >コンストラクタ -- functional/reference_wrapper: LWG3041へ言及</title >
11
+ <link href =" https://cpprefjp.github.io/reference/functional/reference_wrapper/op_constructor.html" />
12
+ <id >86cd612abfc2425a3b715c954f68cba6d175c97e:reference/functional/reference_wrapper/op_constructor.md</id >
13
+ <updated >2024-07-19T00:07:53+09:00</updated >
14
+
15
+ <summary type =" html" >< pre>< code> diff --git a/reference/functional/reference_wrapper/op_constructor.md b/reference/functional/reference_wrapper/op_constructor.md
16
+ index d8d369816..1ce16282d 100644
17
+ --- a/reference/functional/reference_wrapper/op_constructor.md
18
+ +++ b/reference/functional/reference_wrapper/op_constructor.md
19
+ @@ -21,10 +21,10 @@ constexpr reference_wrapper(const reference_wrapper& amp; x) noexcept; // (2) C++20
20
+ ## 概要
21
+ 与えられた参照で、参照オブジェクトを構築する。
22
+
23
+ -- (1) : `T& amp; r = ` [`forward`](/reference/utility/forward.md)`& lt;U& gt;(u)`のように作成した`r`への参照を保持する`reference_wrapper`オブジェクトを構築する
24
+ - `u`が右辺値参照、もしくは参照とCV修飾を除去した`U`が`reference_wrapper& lt;T& gt;`である(`is_same_v& lt;remove_cvref_t& lt;U& gt;, reference_wrapper& lt;T& gt;& gt; == true`となる)場合、このコンストラクタはオーバーロード解決に参加しない
25
+ +- (1) : `T& amp; r =` [`forward`](/reference/utility/forward.md)`& lt;U& gt;(u)`のように作成した`r`への参照を保持する`reference_wrapper`オブジェクトを構築する
26
+ + `u`が右辺値参照、もしくは参照とCV修飾を除去した`U`が`reference_wrapper& lt;T& gt;`である([`is_same_v`](/reference/type_traits/is_same.md)`& lt;`[`remove_cvref_t`](/reference/type_traits/remove_cvref.md)`& lt;U& gt;, reference_wrapper& lt;T& gt;& gt; == true`となる)場合、このコンストラクタはオーバーロード解決に参加しない
27
+
28
+ -- (2) : `x.`[`get()`](/reference/functional/reference_wrapper/get.md)への参照を保持する`reference_wrapper`オブジェクトを構築する
29
+ +- (2) : `x.`[`get()`](get.md)への参照を保持する`reference_wrapper`オブジェクトを構築する
30
+
31
+ ## 例外
32
+ - (1) : 投げない(右辺値参照を受け取らない限り`noexcept`指定される)
33
+ @@ -77,3 +77,4 @@ int main()
34
+
35
+ ## 参照
36
+ - [LWG Issue 2993. `reference_wrapper& lt;T& gt;` conversion from `T& amp;& amp;`](https://wg21.cmeerw.net/lwg/issue2993)
37
+ +- [LWG Issue 3041. Unnecessary decay in reference_wrapper](https://wg21.cmeerw.net/lwg/issue3041)
38
+ < /code>< /pre> </summary >
39
+
40
+ <author >
41
+ <name >yoh</name >
42
+
43
+ </author >
44
+ </entry >
45
+
9
46
<entry >
10
47
<title >cpprefjp - C++日本語リファレンス -- リンクミスを修正</title >
11
48
<link href =" https://cpprefjp.github.io/index.html" />
@@ -568,130 +605,4 @@ index 3851a56db..930c8075e 100644
568
605
</author >
569
606
</entry >
570
607
571
- <entry >
572
- <title >cpprefjp - C++日本語リファレンス -- スポンサー更新 #1301</title >
573
- <link href =" https://cpprefjp.github.io/index.html" />
574
- <id >4baab1d2e6a346af85afe1cc9f61f356627e63c4:index.md</id >
575
- <updated >2024-07-18T17:50:24+09:00</updated >
576
-
577
- <content type =" html" >< h1 itemprop=" name">< span class=" token"> cpprefjp - C++日本語リファレンス< /span>< /h1>
578
- < div itemprop=" articleBody">< p> 本サイトcpprefjpは、プログラミング言語C++のリファレンスを提供するWebサイトです。< /p>
579
- < p> 最新C++バージョンのリファレンスを提供していきます。< /p>
580
- < h2> 運営方針< /h2>
581
- < p> 本リファレンスサイトは、C++言語の最新のリファレンスを常に提供し続けることを目標にしています。< /p>
582
- < p> 各クラス、関数にはそれぞれ1つ以上のサンプルコードを付けていく方針です。< /p>
583
- < p> 本サイトでは、他サイトおよび規格書の直接的な翻訳ではなく、編集者の調査と考えに基づいた解説を提供していきます。< /p>
584
- < h2> HTMLデータのダウンロード< /h2>
585
- < ul>
586
- < li>< a href=" https://github.com/cpprefjp/cpprefjp.github.io/archive/refs/heads/master.zip" target=" _blank"> cpprefjp.github.io-master.zip< /a>< /li>
587
- < /ul>
588
- < p> ローカルで閲覧できるHTMLを用意しています。< /p>
589
- < h2> スポンサーシップ< /h2>
590
- < ul>
591
- < li>< a href=" https://opencollective.com/cpprefjp" target=" _blank"> cpprefjp - Open Collective< /a>< /li>
592
- < /ul>
593
- < p> このプロジェクトは、持続的な活動のため、ユーザーの方々からのご支援をお待ちしております。上記Open Collectiveのプロジェクトでスポンサーシップの募集をしております。< /p>
594
- < p> ご支援いただくユーザーの方々には、以下の特典があります。< /p>
595
- < ul>
596
- < li> 本ページ (cpprefjpサイトのトップページ) に、金額順でロゴを表示させていただきます (金額が同じ場合は登録順)< /li>
597
- < li> シルバースポンサー以上の方は、< a href=" https://github.com/cpprefjp/site" target=" _blank"> cpprefjp/site< /a> リポジトリのissueとして、採用情報を投稿できます (一週間ほどで閉じます)< /li>
598
- < /ul>
599
- < p> ご支援いただいた資金は、貢献度に応じてコントリビューターに分配させていただきます。< /p>
600
- < p> また、スポンサーシップの入金方法として、Open Collectiveのほかに銀行振込も対応しております。< /p>
601
- < p> 銀行振込に関して、またはそれ以外でスポンサーシップの相談に関しては、以下のメールアドレスにお問い合わせください。< /p>
602
- < ul>
603
- < li
> メールアドレス :
< a href=
" mailto:
[email protected] "> [email protected] < /a
>< /li
>
604
- < li> 宛名 : cpprefjp管理者< ul>
605
- < li> 代表として、主に高橋晶 (Akira Takahashi) がご対応させていただきます< /li>
606
- < /ul>
607
- < /li>
608
- < /ul>
609
- < h2> 参加方法< /h2>
610
- < p> 本サイトは、多くのユーザの手によって書かれています。< /p>
611
- < p> あなたがこの cpprefjp プロジェクトに参加したいのであれば、私達はそれをとても歓迎します。< /p>
612
- < p> cpprefjp プロジェクトに参加する方法は簡単です。< /p>
613
- < ol>
614
- < li>< a href=" https://github.com/cpprefjp/site/issues?state=open" target=" _blank"> cpprefjp の Issues< /a> にアクセスし、< /li>
615
- < li> あなたが手伝えそうな、まだ誰にもアサインされていないタスクを見つけ、< /li>
616
- < li> その Issue のコメントに「このタスクやります」と書く< /li>
617
- < /ol>
618
- < p> これだけです。< /p>
619
- < p> あとは、そのタスクを完了させて pull request を送れば、あなたも cpprefjp のコミッタになれます。< /p>
620
- < h2> 編集者向けのさらなる情報< /h2>
621
- < p> 本サイトは、GitHubのリポジトリ上で、Markdown形式でリファレンスを記載し、GitHub Pagesに自動反映するという形をとっています。本サイトのMarkdownソースは、以下のリポジトリにあります。< /p>
622
- < ul>
623
- < li>< a href=" https://github.com/cpprefjp/site" target=" _blank"> https://github.com/cpprefjp/site< /a>< /li>
624
- < /ul>
625
- < p> 上記リポジトリのREADMEに、コアメンバの一覧を記載してありますので、何かありましたらそのうちの誰か、もしくはリポジトリへのIssueという形でご相談ください。< /p>
626
- < p> 本サイトの編集方法については、以下のドキュメントを参照してください。< /p>
627
- < ul>
628
- < li>< a href=" start_editing.html"> cpprefjpを編集するには< /a>< /li>
629
- < /ul>
630
- < p> 本サイトのコンテンツを作成、編集するにあたり、仕様を熟知し、一人で完璧に正しい内容を書くことは要求しません。< /p>
631
- < p> たとえ間違ったことを記載した場合や、不安の残る内容を記載した場合でも、それに気づいた誰かが修正してくれます。< /p>
632
- < h2> その他参考情報< /h2>
633
- < p> 以下のWebサイトから転載許可をいただいています。< /p>
634
- < p> 翻訳や解説などで活用してください:< /p>
635
- < ul>
636
- < li>< a href=" https://web.archive.org/web/20190112041213/http://episteme.wankuma.com/stlprog/index.html" target=" _blank"> Standard Template Library プログラミング on the Web< /a>< /li>
637
- < /ul>
638
- < h2> スポンサー< /h2>
639
- < p> cpprefjpプロジェクトは、以下の方々にスポンサーになっていただいております。< /p>
640
- < h3> ゴールドスポンサー< /h3>
641
- < ul>
642
- < li> Hiroshi様< /li>
643
- < /ul>
644
- < p>< div style=" text-align: center">< a href=" https://shiguredo.jp/" target=" _blank">< img alt=" shiguredo" src=" static/image/sponsors/shiguredo/shiguredo.png" width=" 560" />< /a>< /div>< /p>
645
- < p>< div style=" text-align: center">< a href=" https://www.cocotone.jp" target=" _blank">< img alt=" cocotone" src=" static/image/sponsors/cocotone/cocotone.png" width=" 560" />< /a>< /div>< /p>
646
- < h3> シルバースポンサー< /h3>
647
- < p>< div style=" text-align: center">< a href=" https://www.fixstars.com/" target=" _blank">< img alt=" Fixstars" src=" static/image/sponsors/Fixstars/fixstars-logo.png" width=" 400" />< /a>< /div>< /p>
648
- < p>< div style=" text-align: center">< a href=" https://acerola-software.jp/" target=" _blank">< img alt=" Acerola Software" src=" static/image/sponsors/Acerola/as_logo.png" width=" 400" />< /a>< /div>< /p>
649
- < p>< div style=" text-align: center">< a href=" https://vaporoid.com/sys/" target=" _blank">< img alt=" vaporoid" src=" static/image/sponsors/vaporoid/cpprefjp-400x150.png" width=" 400" />< /a>< /div>< /p>
650
- < p>< div style=" text-align: center">< a href=" https://www.cube-soft.jp/" target=" _blank">< img alt=" CubeSoft" src=" https://raw.githubusercontent.com/cube-soft/cube.assets/master/home/banner/large.png" width=" 400" />< /a>< /div>< /p>
651
- < p>< div style=" text-align: center">< a href=" https://mkohana.github.io/" target=" _blank">< img alt=" M.Kohana" src=" static/image/sponsors/m_kohana/m_kohana.jpg" width=" 320" />< /a>< /div>< /p>
652
- < p>< div style=" text-align: center">< a href=" https://www.pegasys-inc.com/" target=" _blank">< img alt=" pegasys" src=" https://tmpgenc.pegasys-inc.com/images/pegasys_logo.png" width=" 320" />< /a>< /div>< /p>
653
- < p>< div style=" text-align: center">< a href=" https://www.techarts.co.jp/" target=" _blank">< img alt=" technical arts" src=" static/image/sponsors/technical_arts/TechnicalArtsLogo3.png" width=" 400" />< /a>< /div>< /p>
654
- < h3> ブロンズスポンサー< /h3>
655
- < p>< div style=" text-align: center">< a href=" https://opencollective.com/odan" target=" _blank">< img alt=" odan" src=" https://odan.dev/icon.jpeg" width=" 320" />< /a>< /div>< /p>
656
- < p>< div style=" text-align: center">< a href=" https://www.unagiworks.net/" target=" _blank">< img alt=" unagi" src=" https://www.unagiworks.net/blog/wp-content/uploads/2019/01/logo.gif" />< /a>< /div>< /p>
657
- < ul>
658
- < li>
659
- < p>< a href=" https://twitter.com/nodchip" target=" _blank"> nodchip< /a>< /p>
660
- < /li>
661
- < li>
662
- < p> イシハラユウヤ様< /p>
663
- < /li>
664
- < li>< a href=" https://opencollective.com/meg_nakagami" target=" _blank"> Megumi Nakagami様< /a>< /li>
665
- < /ul>
666
- < p>< div style=" text-align: center">< a href=" https://github.com/minachun/minachun" target=" _blank">< img alt=" minachun / J.Minami" src=" https://raw.githubusercontent.com/minachun/minachun/main/banner.png" />< /a>< /div>< /p>
667
- < ul>
668
- < li>< a href=" https://opencollective.com/hashitaku" target=" _blank"> Hashitaku様< /a>< /li>
669
- < /ul>
670
- < p>< div style=" text-align: center">< img alt=" yukika2e" src=" static/image/sponsors/yukika2e/yukika2e.png" />< /div>< /p>
671
- < ul>
672
- < li>< a href=" https://opencollective.com/ugai" target=" _blank"> ugai様< /a>< /li>
673
- < /ul>
674
- < p>< div style=" text-align: center">< a href=" https://github.com/zonuexe" target=" _blank">< img alt=" USAMI Kenta" src=" https://gravatar.com/userimage/33138763/7af48baae61cde116bd8d28a5158946e.jpeg?size=256" width=" 256" />< /a>< /div>< /p>
675
- < p> スポンサーシップについては、以下のページを参照ください。< /p>
676
- < ul>
677
- < li>< a href=" https://opencollective.com/cpprefjp" target=" _blank"> cpprefjp - Open Collective< /a>< /li>
678
- < /ul>
679
- < p> 連絡先が不明なスポンサー様は、ロゴの表示が現在できておりません。Open Collectiveの問い合わせフォームから、表示するロゴ画像とリンク先URLについてご連絡いただきたいです。< /p>
680
- < h2> プライバシーポリシー< /h2>
681
- < p> 本サイトは、サイトの改善のためにGoogleアナリティクスを使用しています。本サイトをご利用中のブラウザは、Googleに特定の情報を自動的に送信します。本サイトは、この分析のためにCookieを使用します。利用者は、本サイトを利用することで、この目的においてCookieを使用することを許可したものとみなします。< /p>
682
- < p> Googleによるデータ使用の詳細は、以下のURLで確認することができます。< /p>
683
- < p>< a href=" https://www.google.com/intl/ja/policies/privacy/partners/" target=" _blank"> https://www.google.com/intl/ja/policies/privacy/partners/< /a>< /p>
684
- < h2> ライセンスについて< /h2>
685
- < p> 本サイトの情報は、< a href=" https://creativecommons.org/licenses/by/3.0/" target=" _blank"> クリエイティブ・コモンズ 表示 3.0 非移植 ライセンス(CC BY)< /a> の下に提供しています。< /p>
686
- < p>< img alt="" src=" https://i.creativecommons.org/l/by/3.0/88x31.png" />< /p>
687
- < p> cpprefjpサイトのアイコン・ロゴ画像は、< a href=" https://creativecommons.org/licenses/by-nc-nd/4.0/deed.ja" target=" _blank"> クリエイティブ・コモンズ 表示 - 非営利 - 改変禁止 4.0 国際 (CC BY-NC-ND 4.0)< /a> の下に提供しています。< /p>
688
- < p> 高解像度画像データ: < a href=" https://github.com/cpprefjp/image/tree/master/cpprefjp/icon" target=" _blank"> cpprefjp/image< /a>< /p>
689
- < p>< img alt="" src=" https://licensebuttons.net/l/by-nc-nd/4.0/88x31.png" />< /p>< /div> </content >
690
-
691
- <author >
692
- <name >Akira Takahashi</name >
693
-
694
- </author >
695
- </entry >
696
-
697
608
</feed >
0 commit comments