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

provide a mechanism to pass references to keywords #22

Open
ldalessa opened this issue May 31, 2023 · 0 comments
Open

provide a mechanism to pass references to keywords #22

ldalessa opened this issue May 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ldalessa
Copy link

I don't currently see a great way to pass a reference using a named keyword. When I use a reference typed keyword I get compilation errors, and if I use an untyped keyword and use std::ref it just copies the ref without decay. I feel like I should be able to use a reference typed keyword successfully, and I also feel like there is a small argument for implicit decay for reference_wrappers in both typed and untyped settings (like tuple).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant