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
Using emplace_* instead of push_* #1215
Comments
Test the code with:
|
These flags are for GCC? I do not have it installed and almost always use Visual Studio, where currently the lowest possible seems to be |
This replacement could be done with a simple macro possibly named as |
The idea is to add this definition into Is this good enough for a PR? |
emplace_*
methods are more efficient when adding new objects, but might require C++11.Does it make sense to add code for this?
Tests run successfully for the branch https://github.com/irwir/cryptopp/tree/use_emplace
The text was updated successfully, but these errors were encountered: