Boost logo

Boost Users :

Subject: Re: [Boost-users] A question on member functions when using lambda expression. Can anyone with kindness help me?
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2009-07-19 05:28:05


2009/7/19 fmingu <fmingu_at_[hidden]>

> (while_loop(bind(&isprime,_1)==false, ++var(result))(middlevalue);
>

Try this:

  (while_loop(bind(&*A::*isprime,_1)==false, ++var(result))(middlevalue);

Roman Perepelitsa.



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