Boost logo

Boost Users :

From: yinglcs2_at_[hidden]
Date: 2006-03-26 01:43:09


Hi,

I am trying to use the transform algorithm to populate
a deque<bool> :

vector<int> orgList;
deque<bool> skipped;
                
transform(orgList.begin(), orgList.end(),
back_inserter(skipped ) , _1 = false);
        
But this does not compile, please tell me what did I
do wrong?
Thank you.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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