Use std::size_t
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Search the codebase for uses of size_t (likely in headers and source files) and replace them with std::size_t. Ensure #include <cstddef> is present where needed. Run existing tests to verify no regressions. The change is mechanical but requires checking multiple files.
Written by the indexing model from the issue text.
Description
We use a bare size_t in a lot of places but technically for a C++ codebase we should prefer std::size_t instead. That's what's provided in <cstddef>, we just happen to get away with the C version because that header includes <stddef.h>.
- Dominant language
- C++
- Stars
- 18
- Forks
- 9
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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.
More from nasa/cml
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
infrastructure
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Allow table interpolation model to accept moved vectorsMay be free again A pull request for this issue was closed without being merged. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
bug priority:p2
Difficulty 1/5 Under an hour Newbie friendliness 82/100
xifan2333/fcitx5-vinput#738 ·
Maintainers usually reply within 1 day
-
good first issue hardware-report help wanted
Difficulty 1/5 Under an hour Newbie friendliness 66/100
-
need triaging
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
launcher: settings are never saved on macOS — QSettings SystemScope points to /Library/PreferencesOpen
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day