So I have this vector:
vector<boost::tuple<ppa::Node*, ppa::Node*, ppa::Node*, bool> > wait;
And I want to search if for the ones that have true in them, how can I do that, that’s it.
Any suggestion I have looked into boost::phoenix but not really sure how it works, any ideas.
Thanks.
Since you are just starting off, here is some example code (I don’t what compiler you are using, but you could use
auto, range-based for etc. if you have C++11 support):C++11 version: