#include #include #include #include using namespace std; using namespace boost::lambda; int main() { cout << " Boost example - testing out the implementation" << endl; cout << " Type in some numbers " << endl; cout << " non numeric to terminate" << endl; typedef istream_iterator in; for_each( in(cin) , in() , cout << (_1 * 3 ) << " " ) ; return(0); }