From 22a7fdfdc4b40cad82ee94b69d829c4b1ca9fcd6 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 7 Oct 2007 18:08:35 +0000 Subject: [PATCH] Include the size of function pointers, void* and std::size_t in the output of the function pointer hash test, to give me a clue why it's failling on a platform. [SVN r39766] --- hash/test/hash_function_pointer_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hash/test/hash_function_pointer_test.cpp b/hash/test/hash_function_pointer_test.cpp index 07a0300..db59e2b 100644 --- a/hash/test/hash_function_pointer_test.cpp +++ b/hash/test/hash_function_pointer_test.cpp @@ -29,6 +29,11 @@ void function_pointer_tests() compile_time_tests((void(**)()) 0); compile_time_tests((int(**)(int)) 0); + std::cout<<"sizeof(void(*)()) = "< hasher_void; HASH_NAMESPACE::hash hasher_int;