Possible issues with deduction guides from p1518r2

オープン
#501 コメント 18 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp

調査の方向性

まず、間接コンストラクターの宣言を P1518r2 paper および対応する tuple の文言と比較します。関連する issue #4060 と #497 で参照されている会話を確認し、そのうえで allocator パラメーターの宣言を変更すべきかどうかを判断します。完了とは、適用可能性が解決され、issue に確認済みの API の決定が記録されていることを意味します。

索引モデルが issue の本文から書いたものです。

説明

help wanted

Does https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1518r2.html somehow also apply to indirect?

I.e. should it be:

- constexpr indirect(allocator_arg_t, const Allocator& a, const indirect& other);
+ constexpr indirect(allocator_arg_t, const type_identity_t<Allocator>& a, const indirect& other);

- constexpr indirect(allocator_arg_t, const Allocator& a, indirect&& other);
+ constexpr indirect(allocator_arg_t, const type_identity_t<Allocator>& a, indirect&& other);

I am not sure, but I got reminded of P1518 and at least wanted to mention it.

Possibly related: https://github.com/microsoft/STL/issues/4060

We're currently consistent with tuple: https://eel.is/c++draft/tuple.tuple which might be the right way to be.

Taken from conversation with @Ukilele on another issue #497

主要言語
C++
スター
88
フォーク
15
平均マージ
1時間 11分
マージ済み PR(30日)
1

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jbcoe/value_types のほかの issue

jbcoe/value_types の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。