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

26 May
2010
26 May
'10
2:43 p.m.
I have a problem compiling this: class A { public: void method(); void methodwiththrow() throw (char*); }; std::vector 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?
5386
Age (days ago)
5386
Last active (days ago)
0 comments
1 participants
participants (1)
-
Archie14