Boost logo

Boost Users :

From: dick.bridges_at_[hidden]
Date: 2002-09-25 18:08:23


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net