Visual Studio 2010 (v16.00) does not accept the template type alias. Bump to VS2012 (v17.00). Lather, rinse, repeat until we determine when...

pull/35/head
Jeffrey Walton 2015-07-30 13:43:55 -04:00
parent 8293570bd4
commit 17fd66f2ff
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ NAMESPACE_BEGIN(CryptoPP)
// test for unique_ptr directly because some of the non-Apple Clangs on OS X fail the same // test for unique_ptr directly because some of the non-Apple Clangs on OS X fail the same
// way. However, modern standard libraries have <forward_list>, so we test for it instead. // way. However, modern standard libraries have <forward_list>, so we test for it instead.
// Thanks to Jonathan Wakely for devising the clever test for modern/ancient versions. // Thanks to Jonathan Wakely for devising the clever test for modern/ancient versions.
#if (__cplusplus >= 201103L) || (_MSC_VER >= 1600) #if (__cplusplus >= 201103L) || (_MSC_VER >= 1700)
# if defined(__clang__) # if defined(__clang__)
# if (__has_include(<forward_list>)) # if (__has_include(<forward_list>))
# define CRYPTOPP_HAVE_UNIQUE_PTR 1 # define CRYPTOPP_HAVE_UNIQUE_PTR 1