linksplatform / linksplatform/RegularExpressions.Transformer.CSharpToCpp
Fast forwarding to class fields
Open
enhancement
performance
- Dominant language
- Python
- Stars
- 10
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
use std::move for forward std::string (and other big [not fundamental] types)
```c++
constructor(std::string string)
: field(std::move(string))
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the code that emits C++ constructors and inspect how parameters such as std::string are initialized into class fields. Update the generated constructor output so eligible non-fundamental values use std::move, then verify the generated C++ for the affected cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100