#include #include #include int main() { std::string hello( "Hello, world!\n" ); BOOST_FOREACH( char ch, hello ) { std::cout << ch; } return 0; }