a question on boost::is_function

should the following code return: true or false?
boost::is_function

Kevin Lee wrote:
should the following code return: true or false?
boost::is_function
::value
false.
if the result is false, why? I don't understand it.
That's a pointer-to-function type, not a function type. Try
boost::is_function
participants (4)
-
David Abrahams
-
Douglas Gregor
-
Howard Hinnant
-
Kevin Lee