#include <algorithm>
#include <iostream>

int main(void)
{
	struct _
	{
		static void print(int i)
		{
			std::cout << i << " ";
			return;
		}
	};

	// _::print(int) is local to this function
	int my_array[8] = {
		0, 1, 2, 3, 4, 5, 6, 7	
	};
	std::for_each(my_array, my_array + 8, _::print);
	std::cout << std::endl;
	return (0);
}
