|
|
От: | Аноним | |
| Дата: | 13.04.06 08:13 | ||
| Оценка: | |||
std::map<std::string, int> algPars;
std::for_each(algPars.begin(), algPars.end(), boost::bind(atoi, _1->first.c_str()));namespace lmbd = boost::lambda;
std::vector<int> intarray(10);
boost::function<void(int)> op2 = (std::cout << intarray[lmbd::_1]);
op2(2);