Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[sequence_senders] item_types_of_t probes sequence item senders with the regular __debug_sender when STDEXEC_ENABLE_EXTRA_TYPE_CHECKING=ON

Chiusa
#2,273 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
66/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

Inizia tracciando item_types_of_t e gli helper __item_types_of, poi confronta il loro normale percorso __debug_sender con i percorsi consapevoli delle sequenze indicati nell’issue. Riproduci una pipeline exec::any_sequence_sender con STDEXEC_ENABLE_EXTRA_TYPE_CHECKING=ON ed esegui i file di test delle sequenze; il lavoro è completato quando queste probe compilano senza l’errore di connect().

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Requested by @ericniebler in #2271 — follow-up found while verifying that PR with -DSTDEXEC_ENABLE_EXTRA_TYPE_CHECKING=ON. Fails on pristine main, so it is separate from the fix in #2271.

Description

With extra type checking enabled, item_types_of_t (and its __item_types_of helpers) still route sequence item senders through the regular debug sender machinery (__debug_sender), which calls connect() on them. Sequence senders are not regular senders, so compilation fails with:

no matching function for call to object of type 'stdexec::connect_t'

#2271 fixed the analogous paths (__sequence_receiver_from, subscribe_t::__type_check_arguments) by switching to __sequence_completion_signatures_of_t; the item-type probing paths need the same sequence-aware treatment (or a sequence-aware equivalent of __debug_sender).

Reproduction

Compose an exec::any_sequence_sender pipeline and build with the flag enabled. After #2271, the remaining sequence-test errors under the flag largely come from this path (error counts across the sequence test files drop from 20/58/66 on main to 4/6/16 with #2271).

Lingua principale
C++
Stelle
2.4k
Fork
270
Merge medio
1g 12h
PR unite (30g)
39

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/stdexec

Tutte le issue di NVIDIA/stdexec

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.