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

Abierto
#6,566 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
11.2k
Forks
1.7k
Merge medio
4 d 4 h
PR fusionados (30 d)
14

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/STL

Todos los issues de microsoft/STL

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.