58

The Syntax of C and C++ Function Pointers

http://www.itechtalk.com

Regarding their syntax, there are two different types of function pointers: On the one hand there are pointers
to ordinary C functions or static C++ member functions, on the other hand there are pointers to non-static
C++ member functions. The basic difference is that all pointers to non-static member functions need a hidden
argument: The this-pointer to an instance of the class. Always keep in mind: These two types of function
pointers are incompatible with each other.

Read »
admin's picture
Created by admin 20 weeks 2 days ago – Made popular 20 weeks 2 days ago
Category: Technology   Tags: