Boost logo

Boost Users :

Subject: Re: [Boost-users] [phoenix] std::fstream problem
From: Adam Merz (adammerz_at_[hidden])
Date: 2008-11-05 15:08:02


std::for_each(ints.begin(), ints.end(), boost::phoenix::ref(out) << arg1 << ' ');

AFAIK, phoenix gives std::cout special treatment in regards to being implicitly
captured by reference.


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