
21 Jun
2007
21 Jun
'07
4:28 a.m.
That's it. Many thanks, Darren!
std::for_each(vec.begin(), vec.end(), bind(&write, boost::ref(std::cout), // !! bind(constructor<std::pair<value_t, value_t> >(), _1, _1)));
That stops bind taking a copy of std::cout, which should fix the first problem.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.