I\'m trying to create a map of string and method in C++, but I don\'t know how to do it. I would like to do something like that (pseudocode):
map
See this question. The most convenient notation for method is function where function is either included in boost or in under C++0x.
method
function
In your case, the signature would be like this.
map map; ... map["sin"](1.0);