String move constructor and move assignment don't move
Open
Component: Core
Print and Stream class
Type: Bug
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
The String::String(String&&) and String::operator=(String&&) do not perform expected operation i.e. they don't move, but instead they copy.
Contributor guide
Research direction
No file or test is named. Locate the String class declarations and definitions for String::String(String&&) and String::operator=(String&&), then inspect the existing tests or add a focused regression test. Done means both operations have move semantics rather than copying, with the expected behavior covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100