-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversion warnings #15
Comments
Hi EricOpitz! I'm glad you're getting some use out of the library. Regarding your points:
|
Just a comment on this: I see for your potential dynamic string issue #12 that this information may be useful, especially in combination with something like testing for literals using implicit literal concatenation and sizeof (literal)-1 for string length of literals, rather than calling strlen. |
It seems being fixed by commit b67fabe in dev branch |
The dynamic string implementation is mostly finished now. I still need to review/tidy up the code, write some more tests, and refine the documentation before releasing the new version. As @fonghou pointed out, the new version will address both issues that @EricOpitz raised here, namely the absence of out-of-the-box support for As for the dynamic string implementation, it mostly follows the API outlined in #12, but there are a few rough edges. For example, although the dynamic strings have default hash, comparison, and destructor functions for easy integration with other containers, there is currently no heterogeneous lookup (or heterogeneous insertion, which would also be nice). So if your map's key are of the type
This optimization could perhaps be used, but currently isn't, when inserting string literal arguments into strings. But the complication is that |
Thanks for this beautiful library! I have integrated the library into my project and I have two comments:
The text was updated successfully, but these errors were encountered: