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

Consider adding implicit casting operators to (U)LARGE_INTEGER #268

Closed
rickbrew opened this issue Dec 1, 2021 · 1 comment
Closed

Consider adding implicit casting operators to (U)LARGE_INTEGER #268

rickbrew opened this issue Dec 1, 2021 · 1 comment
Labels
help wanted An issue where a contribution would be appreciated. proposal An issue that represents a proposed feature or change to the repo.

Comments

@rickbrew
Copy link
Contributor

rickbrew commented Dec 1, 2021

These are the same as long and ulong, so working with this would be easier if I could do

ulong x = ...;
ULARGE_INTEGER uliY = x;
ulong z = uliY;

instead of having to do uliY.QuadPart = x; and z = uliY.QuadPart;

(not high priority for me, came across this while implementing CCW for IStream)

@rickbrew rickbrew added proposal An issue that represents a proposed feature or change to the repo. untriaged An issue that has not been triaged by the repo maintainers. labels Dec 1, 2021
@tannergooding tannergooding added help wanted An issue where a contribution would be appreciated. and removed untriaged An issue that has not been triaged by the repo maintainers. labels Dec 2, 2021
@tannergooding
Copy link
Member

Marked this as help-wanted, but I'll get to it tomorrow if someone else doesn't grab it first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted An issue where a contribution would be appreciated. proposal An issue that represents a proposed feature or change to the repo.
Projects
None yet
Development

No branches or pull requests

2 participants