WerWolv / WerWolv/PatternLanguage
Variables declared using auto will not export
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 275
- Forks
- 75
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 10
Description
A member variable of a struct defined using auto must be a local variable since it needs an assignment to deduce its type. in theory local variables can be made visible in the pattern data window by using the [[export]] attribute. Define a simple structure with a local using auto and export has no effect. Switch it to a built in type and it shows.
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
No file or test is named. Reproduce the struct with a local variable declared using auto and [[export]], compare it with the same variable using a built-in type, and trace the handling of type deduction and export visibility. Done means the auto-declared local appears in the pattern data window like the built-in-type version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100