|
Boost Users : |
Subject: Re: [Boost-users] boost.multi_index & IPC
From: JoaquÃn M LópezMuñoz (joaquin_at_[hidden])
Date: 2012-04-09 12:21:24
éæµ·å³° <chenhf2010 <at> qq.com> writes:
>
> std::vector<quote> result;
>
> BOOST_FOREACH(const quote& q, idx_sortbyprice)
>
> {
>
> int kind = q.kind;
>
> if (kind == 1 || kind == 11)
>
> {
> // std::cout << "å¸åº" << q.market << ",ç±»å«" << q.kind << >
", " << q.secname << ",ææ°ä»·" << q.price << std::endl;
>
>
> result.push_back(q); Â
> this statement will compile error, why? how to write?
Can you post the exact compiler error you're getting.
Thank you,
JoaquÃn M López Muñoz
Telefónica Digital
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