forked from boostorg/functional
Implement the compile time checks for hash functions as a function instead of a templated class. Hopefully it will work on more compilers.
[SVN r28053]
This commit is contained in:
1 parent
2000b1aed8
commit
f102d684cf
4 files changed
+6
-7
No files matched your search
@@ -22,7 +22,7 @@
|
||||
|
||||
BOOST_AUTO_UNIT_TEST(string_tests)
|
||||
{
|
||||
BOOST_CHECK(compile_time_tests<std::string>::success);
|
||||
compile_time_tests((std::string*) 0);
|
||||
|
||||
HASH_NAMESPACE::hash<std::string> x1;
|
||||
HASH_NAMESPACE::hash<std::string> x2;
|
||||
@@ -34,7 +34,7 @@ BOOST_AUTO_UNIT_TEST(string_tests)
|
||||
#if !defined(BOOST_NO_STD_WSTRING)
|
||||
BOOST_AUTO_UNIT_TEST(wstring_tests)
|
||||
{
|
||||
BOOST_CHECK(compile_time_tests<std::wstring>::success);
|
||||
compile_time_tests((std::wstring*) 0);
|
||||
|
||||
HASH_NAMESPACE::hash<std::wstring> x1;
|
||||
HASH_NAMESPACE::hash<std::wstring> x2;
|
||||
|
||||
Reference in new issue
Block a user