When a function is implicitly converted to a pointer, it is also called decay.
It is called decay, because type information is lost. In this case, the type information that is lost is the types of the arguments.
Reference: C++ Templates: The complete guide
No comments:
Post a Comment