Is there a way to create a list (e.g. an array) of pointers to each method of a C++ class?
Something like Type.GetMethods()
in the .NET framework, but using only standard C++.
No this is not possible in a general way. C++ does not have the same metadata infrastructure that .Net posses.
Could you provide us with a scenario where you want to use this information? There may be a better approach you can use with C++
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With