Now that we have full C++ support, I would like to start taking
opportunities related to temporaries and performance. The first two
candidates are SecBlock and Integer. I think they are two of the top five
or so fundamental classes of the library.
The code will likely look something like the following because of C++03 and
C++11:
#if defined(CRYPTOPP_CXX11)
Integer(Integer&& rhs);
Integer& operator=(Integer&& rhs);
#endif
If you seen an opportunity that has not been taken, then please point it
out.
We also recognize C++14, so we can look forward if needed. The C++14
support was recently cut-in. See
https://github.com/weidai11/cryptopp/commit/9fd44748c15491e332c5fcb8b37c37594ce1ec5d.
Herb Sutter has a good page on temporary objects at
http://herbsutter.com/2013/05/13/gotw-2-solution-temporary-objects/.
Jeff
--
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
---
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.