[cpp.stringize] Whitespace is not a preprocessing token
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
Consider [cpp.stringize]
Let the stringizing argument be the preprocessing token sequence for the corresponding argument with placemarker tokens removed. Each occurrence of whitespace between the stringizing argument's preprocessing tokens becomes a single space character in the character string literal.
Since whitespace is not a preprocessing token, the preprocessing token sequence should only consist of each preprocessing token that appears in the corresponding argument(i.e, a stringizing-argument does not contain whitespaces). This point is also highlighted in the answer of this issue
https://stackoverflow.com/a/37462188/11796722
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the [cpp.stringize] wording cited in the issue and compare its use of “preprocessing token sequence” with the described treatment of whitespace. Use the linked Stack Overflow explanation as context. Done means resolving whether the wording is technically inconsistent and clarifying the standard text if needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, tex
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100