is "function Pointer" in c++ similar in behavior with "delegate" in c#? -


i have small question.

is function pointer in c++ similar in behavior delegate in c# ?

yes, they're similar.

but function pointer in c++ cannot point instance method of class, while delegate in c# can.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -