Hi Michael,
On Sun, Sep 4, 2011 at 8:29 PM, Michael King
Can anyone suggest a more convenient solution to the problem I am trying to solve?
I was a little surprised that the function_input_iterator took its
argument by reference -- it seems like such arguments are typically
passed by value, allowing the client to use ref/cref. If you're able
to use boost range, I think you can get a much more attractive syntax
(example modified to work with g++ on windows). Using boost trunk:
#include<cstdlib>
#include<iostream>
#include<iterator>
#include