Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slightly improve I/O code quality #17105

Draft
wants to merge 7 commits into
base: branch-24.12
Choose a base branch
from

Conversation

kingcrimsontianyu
Copy link
Contributor

@kingcrimsontianyu kingcrimsontianyu commented Oct 16, 2024

Description

This PR makes small improvements for the I/O code. Specifically,

  • Place type constraint on a template class to allow only for rvalue argument. In addition, replace std::move with std::forward to make the code more apparently consistent with the convention, i.e. use std::move() on the rvalue references, and std::forward on the forwarding references (Effective modern C++ item 25).
  • Leave comments regarding an existing cuFile driver close issue.
  • Minor typo fix (structclass).

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@kingcrimsontianyu kingcrimsontianyu self-assigned this Oct 16, 2024
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Oct 16, 2024
@kingcrimsontianyu kingcrimsontianyu added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change and removed libcudf Affects libcudf (C++/CUDA) code. labels Oct 16, 2024
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Oct 17, 2024
@kingcrimsontianyu kingcrimsontianyu changed the title Slightly improve code quality Slightly improve I/O code quality Oct 17, 2024
@kingcrimsontianyu kingcrimsontianyu force-pushed the small_improvements branch 3 times, most recently from f54f6cb to 8c7c6dc Compare October 22, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Status: In Progress
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant