diff --git a/test/bind_visit_test.cpp b/test/bind_visit_test.cpp index c2b8089..5fd8e88 100644 --- a/test/bind_visit_test.cpp +++ b/test/bind_visit_test.cpp @@ -22,6 +22,7 @@ #endif #include +#include #if defined(BOOST_MSVC) && (BOOST_MSVC < 1300) # pragma warning(pop) @@ -37,12 +38,14 @@ struct visitor { } - template void operator()( T const & /*t*/ ) + template void operator()( T const & t ) { + std::cout << "visitor::operator()( T ): " << typeid( t ).name() << std::endl; } void operator()( int const & t ) { + std::cout << "visitor::operator()( int ): " << t << std::endl; hash = hash * 10 + t; } };