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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -