Fixed eroneous comment

[SVN r12153]
This commit is contained in:
John Maddock
2001-12-27 12:21:24 +00:00
parent 894e2e1beb
commit 57c83a61e5

View File

@ -25,7 +25,7 @@
//
// is a type a function?
// Please note that this implementation is unnecessarily complex:
// we could just use is_convertible<T*, const volatile void*>::value,
// we could just use !is_convertible<T*, const volatile void*>::value,
// except that some compilers erroneously allow conversions from
// function pointers to void*.
//
@ -107,7 +107,7 @@ struct is_function_helper
{
static T* t;
BOOST_STATIC_CONSTANT(bool, value = sizeof(is_function_tester(t)) == sizeof(::boost::type_traits::yes_type));
//BOOST_STATIC_CONSTANT(bool, value = (::boost::is_convertible<T*, const volatile void*>::value));
//BOOST_STATIC_CONSTANT(bool, value = (!::boost::is_convertible<T*, const volatile void*>::value));
};
#endif