
25 Sep
2002
25 Sep
'02
11:08 p.m.
Everytime I think I have a clue, I'm reminded how little I REALLY understand. <error compiler='VC6SP4'> 'map' : invalid template argument for '_Ty', type expected </error> <snippet> struct X { } struct Y { short foo(X*); } struct Z { map<int, bind(&Y::foo, _1, _2) > myMap; } </snippet> I thought I saw how to do this somewhere on the website but I sure can't find it now. Any help GREATFULLY appreciated.