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

Reason about using tilde operator in Option constructor? #569

Closed
e-cloud opened this issue Sep 6, 2016 · 1 comment
Closed

Reason about using tilde operator in Option constructor? #569

e-cloud opened this issue Sep 6, 2016 · 1 comment

Comments

@e-cloud
Copy link

e-cloud commented Sep 6, 2016

When looking at source code of Option constructor, it's a bit uncommon to see applying tilde operator.

After searching the actual usage of those tilde-operated members of an Option, i don't see any benefit of that rather than using logical operator.

@tj, could you explain the original determination of it? Couldn't find any clue from the git history.

@usmonster
Copy link
Contributor

Recently fixed in #794.

@e-cloud e-cloud closed this as completed Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants