LWG-3628 "Effects: Equivalent to:" and uninitialized memory algorithms

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

メンテナーはふだん 2 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
backend

調査の方向性

Start by reading LWG-3628 and the library’s implementations that use “Effects: Equivalent to:” for uninitialized memory algorithms. Audit those occurrences for constraints that were added based on the assumption that equivalent effects propagate constraints; the issue does not name specific files or tests. Done means identifying and removing any unnecessary constraints found, with the changes verified against the relevant library tests.

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

説明

LWG

LWG-3628 "Effects: Equivalent to:" and uninitialized memory algorithms

This one is interesting because its resolution is just adding a Note, which usually means it's a slam dunk N/A under the heading "Pure wording clarifications with nothing to implement (these can be changes to non-normative text like examples and informative notes)".

But in this case, the Note is correcting an earlier misunderstanding. I certainly was under the impression that Effects Equivalent To propagated Constraints, and I believe there are multiple occurrences in the library where we implemented code accordingly. We should probably audit the library to see if any unnecessary constraints should be removed.

主要言語
C++
スター
11.2k
フォーク
1.7k
平均マージ
4日 4時間
マージ済み PR(30日)
14

環境構築

はじめの一歩

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

microsoft/STL のほかの issue

microsoft/STL の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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