|
Boost Users : |
From: Mojmir Svoboda (mojmir.svoboda_at_[hidden])
Date: 2007-06-21 06:28:14
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.
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