Could someone help with the correct syntax? I tried something like
and the compiler does not like it. Thanks!Code:class myclass { multimap<int, void(*)()> mm_fn; ... void afunction(); ... void anotherfunction(int anint){ mm_fn.insert(pair<int,void(*)()>(anint,afunction)); } }




Reply With Quote