boostorg / boostorg/preprocessor

BOOST-PP_TUPLE-REM-CTOR and BOOST-PP-REOVE-PARENS behave incorrectly on the msvc compiler

Offen
#63 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
118
Forks
76
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

BOOST_PP_TUPLE_REM_CTOR((x, y, z)) // expands to x,But the document says it will expand into x, y, z
BOOST_PP_REMOVE_PARENS((a, b, c)) //expands to a,But I think it will unfold into a, b, c

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the two macro expansions in the issue body with the MSVC compiler and compare them with the documented expansions. Inspect the implementation and documentation for BOOST_PP_TUPLE_REM_CTOR and BOOST_PP_REMOVE_PARENS, then confirm that both expand to all three comma-separated values as documented.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
compilers
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.