Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2005-10-12 18:31:27

Joel de Guzman wrote:
> Docs:

In "Block Statement", ( you show how to use the
comma operator to sequence statements. I see problems here, especially
when calling a function that takes a predicate that isn't the last
argument. For instance, how would you use Phoenix to create a

   iterator begin, end;
   boost::make_filter_iterator(arg1 > 5, begin, end);
   // Oops! ---------------------------^

Isn't that comma going to be Phoenix's overloaded comma?

Eric Niebler
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at