Added define for CRYPTOPP_CXX14 so we can pick up operator "" and small string optimizations (SSO)

pull/35/head
Jeffrey Walton 2015-07-31 02:11:32 -04:00
parent bef0e79882
commit 9fd44748c1
1 changed files with 9 additions and 3 deletions

View File

@ -512,6 +512,12 @@ NAMESPACE_END
# define CRYPTOPP_CXX11 1
#endif
// C++14 adds a operator”” and Small String Optimizations (SSO)
// TODO: change this when Microsoft adds support
#if (_MSC_VER >= 1600) || (__cplusplus >= 201402L)
# define CRYPTOPP_CXX14 1
#endif
// C++11 is available
#if defined(CRYPTOPP_CXX11)