Boost logo

Boost Users :

From: chun ping wang (cablepuff_at_[hidden])
Date: 2007-08-05 14:36:59


Hi i would like to know whats the best way to use BOOST_FOREACH and
iterator.

Example...

BOOST_FOREACH(char c, String str)
{
      first_c = c; // blah.. first iterator = c after condition x.
      second_c = c; // blah... second iterator = c after condition y.
}

str2.insert(first_c, second_c).

Thanks for any help.



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