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

html - Cut text on left side inside button while centering -

java - Last square of 8x8 grid not drawn, using two nested FOR loops -

What design pattern is this code in Javascript? -