lambda::bind with A::method throw (char*)

26 May
2010
26 May
'10
8:43 a.m.
I have a problem compiling this: class A { public: void method(); void methodwiththrow() throw (char*); }; std::vector<A*> lst; // compiles OK. std::for_each (lst.begin(), lst.end(), boost::lambda::bind(&A::method, boost::lambda::_1)); // compile fails. std::for_each (lst.begin(), lst.end(), boost::lambda::bind(&A::methodwiththrow, boost::lambda::_1)); What might be the reason?
5503
Age (days ago)
5503
Last active (days ago)
0 comments
1 participants
participants (1)
-
Archie14