Yes, ampersand is optional, they give the same result.
The value of the type of the function T can be converted to a prvalue of type "pointer to T". The result is a pointer to a function .55
I'm only going to go and say that if you are using C ++ 11, you should use std::function
anyway, it is much easier to understand and use.
source share