
12 Oct
2005
12 Oct
'05
11:31 p.m.
Joel de Guzman wrote:
Docs: http://tinyurl.com/77pz5
In "Block Statement", (http://tinyurl.com/b25hr) 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 filter_iterator? 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 www.boost-consulting.com