-
Notifications
You must be signed in to change notification settings - Fork 105
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
How to create a string key at runtime? #143
Comments
Sure, it works as expected:
|
Thank you! For some reason I could not find an example of constructing a string key at runtime. |
@jgm-ktg look at |
Related question, since I've stumbled upon this after failing to get heterogeneous lookup working for this case in |
Answering my own question; the reasons I was even interested in heterogeneous lookup in the first place are obviated by #158, so it's moot once that lands. That is, a
Obvious now that I see it, but, well, thanks @muggenhor, couldn't for the life of me find that, and it was making me crazy. |
Here is non-frozen code. I need the key being looked up to come from data outside the program... i.e. not a literal. Does frozen do this or does it not solve that gperf-like problem?
The text was updated successfully, but these errors were encountered: