6 Nov
2008
6 Nov
'08
6:21 p.m.
Adam, thanks a lot. That worked. But when extending to my "real world"
use case I'm running constantly into troubles. There are still some
issues with file streams. cout mostly works but ofstream doesn't.
Attached is a file with my use cases. These are very basic usages of
phoenix and I think they should work.
Thanks,
Christian
On Wed, Nov 5, 2008 at 3:08 PM, Adam Merz
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users